30 lines
718 B
Makefile
Executable File
30 lines
718 B
Makefile
Executable File
#!/usr/bin/make -f
|
|
|
|
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
|
|
DPKG_EXPORT_BUILDFLAGS = 1
|
|
include /usr/share/dpkg/buildflags.mk
|
|
export DEB_CFLAGS_MAINT_APPEND = $(CPPFLAGS)
|
|
|
|
%:
|
|
dh $@
|
|
|
|
#override_dh_autoclean:
|
|
# dh_autoclean
|
|
# find documentation -name "*.png" | xargs rm -f
|
|
|
|
|
|
override_dh_auto_configure:
|
|
dh_auto_configure -- \
|
|
--localedir=\$${prefix}/share/locale \
|
|
--docdir=\$${prefix}share/doc \
|
|
--docsubdir=dvdisaster-doc/html
|
|
|
|
override_dh_auto_install:
|
|
dh_auto_install -- BUILDROOT=$(CURDIR)/debian/tmp
|
|
|
|
# Removing double files
|
|
rm -f debian/tmp/usr/bin/dvdisaster-uninstall.sh
|
|
rm -f debian/tmp/usr/share/doc/dvdisaster-doc/html/CHANGELOG
|
|
rm -f debian/tmp/usr/share/doc/dvdisaster-doc/html/COPYING
|
|
|