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 31 32 33 34 35
|
#!/usr/bin/make -f
PACKAGE = hpanel
CHANGELOG = debian/upstream.changelog
CFLAGS += -Wl,-z,defs \
-I/usr/X11R6/include \
-I/usr/include/freetype2 \
-DHAVE_XPM -DXFT -DCLOCK
get-changelog:
awk '/Installation:/ {exit} /Changes/,/Installation:/ {print} ' \
README > $(CHANGELOG)
man:
$(MAKE) -C debian -f pod2man.mk PACKAGE=$(PACKAGE) makeman
override_dh_installchangelogs: get-changelog
dh_installchangelogs $(CHANGELOG)
override_dh_auto_configure:
# Skip this step
override_dh_auto_build: man
$(MAKE) CFLAGS="$(CFLAGS)" hpanel
override_dh_auto_install:
# Skip this step
%:
dh $@
.PHONY: man get-changelog
# End of file
|