1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
#!/usr/bin/make -f
CPPFLAGS := $(shell dpkg-buildflags --get CPPFLAGS)
CFLAGS := $(shell dpkg-buildflags --get CFLAGS) $(CPPFLAGS) -Wno-format-security
LDFLAGS := $(shell dpkg-buildflags --get LDFLAGS)
%:
dh $@ --parallel
override_dh_auto_build:
$(MAKE) CFLAGS="$(CFLAGS)" PROFILE="$(LDFLAGS)"
convert -monitor -resize 32x32 empire-logo.png empire-logo.xpm
override_dh_installchangelogs:
dh_installchangelogs NEWS
override_dh_install:
mv vms-empire empire
dh_install
override_dh_auto_clean:
$(RM) *.o empire empire-logo.xpm
|