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
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
UPVERSION = $(shell dpkg-parsechangelog | grep ^Vers | cut -d\ -f2 | sed 's,-.*,,' | sed 's,+.*,,')
NEXT_UPVERSION = $(shell perl -e '$$_=pop; s/(\d+)$$/$$1+1/e; print' $(UPVERSION))
override_dh_auto_configure:
dh_auto_configure -- GACUTIL=/usr/bin/gacutil CSC=/usr/bin/mono-csc
override_dh_installexamples:
dh_installexamples
find $(CURDIR)/debian/taoframework-examples/usr/share/doc \
'(' -name bin -o -name '*.exe' -o -name '*.dll' -o -name \
'*.dll.config' -o -name 'Makefile*' -o -name '*.csproj' -o \
-name COPYING ')' -delete
cp $(CURDIR)/debian/Makefile \
$(CURDIR)/debian/taoframework-examples/usr/share/doc/taoframework-examples/examples/
override_dh_compress:
# please don't compress the examples, thanks
dh_compress -Xusr/share/doc/taoframework-examples/examples
override_dh_makeclilibs:
dh_makeclilibs -m $(UPVERSION) -l $(NEXT_UPVERSION)
override_dh_clideps:
dh_clideps -d \
--exclude-moduleref=libdl.dylib \
--exclude-moduleref=/System/Library/Frameworks/Cocoa.framework/Cocoa \
--exclude-moduleref=libobjc.dylib
%:
dh $@ --with quilt,cli
|