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
|
#!/usr/bin/make -f
#export DH_VERBOSE=1
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
%:
dh $@
override_dh_auto_build:
dh_auto_build -- \
CPPFLAGS="$(CPPFLAGS)" \
CFLAGS="$(CFLAGS) $(CPPFLAGS)" \
CXXFLAGS="$(CXXFLAGS) $(CPPFLAGS)" \
LDFLAGS="$(LDFLAGS)" \
client server
override_dh_auto_install:
#skip dh_auto_install because upstream's install target is broken
override_dh_install:
mv sauer_client cube2_client
mv sauer_server cube2_server
dh_install
override_dh_clean:
dh_clean
$(RM) cube2_client cube2_server
|