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 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56
|
#!/usr/bin/make -f
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
export MONO_SHARED_DIR=$(CURDIR)
NANT = nant -t:mono-1.0
# Include dpatch stuff.
include /usr/share/dpatch/dpatch.make
build: patch build-stamp
build-stamp:
$(NANT) release compile-build
touch build-stamp
clean: unpatch
dh_testdir
dh_testroot
rm -rf build
$(NANT) clean-build-dir
rm -rf .wapi
rm -f build-stamp
rm -f src/CommonAssemblyInfo.cs
dh_clean
install: build
dh_testdir
dh_testroot
dh_clean -k
dh_installdirs
binary-indep: install
dh_testdir -i
dh_testroot -i
dh_link -i
dh_install -i
cp debian/ndoc-console.sh debian/ndoc-console/usr/bin/ndoc-console
-cd $(CURDIR)/debian && find -type f -name "*.exe" -exec chmod +x {} \;
-cd $(CURDIR)/debian && find -type f -name "*.dll" -exec chmod -x {} \;
dh_installchangelogs -i
dh_installdocs -i README.txt
dh_installexamples -p ndoc-console -i examples/*
dh_installmenu -i
dh_installman -i debian/ndoc-console.1
dh_strip -i
dh_compress -i
dh_fixperms -i
dh_installdeb -i
dh_makeclilibs -i
dh_clideps -i -d
dh_gencontrol -i
dh_md5sums -i
dh_builddeb -i
binary: binary-indep
.PHONY: clean build binary-indep binary install
|