| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | -include /usr/share/dpkg/buildtools.mk |
| 4 | |
| 5 | export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
| 6 | |
| 7 | LIBS = -lstdc++ -lm -lpng -lz |
| 8 | |
| 9 | PACKAGE = apng2gif |
| 10 | BIN = $(PACKAGE) |
| 11 | |
| 12 | include debian/pod2man.mk |
| 13 | |
| 14 | execute_before_dh_installman: |
| 15 | $(MAKE) -C debian -f pod2man.mk PACKAGE=$(PACKAGE) makeman |
| 16 | |
| 17 | override_dh_auto_build: |
| 18 | $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) $(PACKAGE).cpp -o $(BIN) $(LIBS) |
| 19 | |
| 20 | %: |
| 21 | dh $@ |