1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
|
#!/usr/bin/make -f
DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_BUILD_MAINT_OPTIONS
builddir = debian/webfs
installdir = $(CURDIR)/$(builddir)
%:
dh $@
override_dh_auto_build:
test -f Make.config || cp debian/Make.config ./
dh_auto_build -- verbose=yes prefix=/usr
override_dh_auto_install:
# Do nothing
override_dh_install:
$(MAKE) install \
prefix=$(installdir)/usr \
mandir=$(installdir)/usr/share/man
install -d $(installdir)/usr/share/webfs
install -m 0644 debian/webfsd.conf \
$(installdir)/usr/share/webfs/webfsd.conf.auto
install -d $(installdir)/usr/libexec
install -m 0755 debian/webfsdsrv \
$(installdir)/usr/libexec/webfsdsrv
dh_install --sourcedir=$(builddir)
dh_installchangelogs -a -k README
|