diff options
| author | ruki <[email protected]> | 2017-04-07 09:53:29 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2017-04-07 09:53:29 +0800 |
| commit | 3085ff44c910916e6378982f14a9bbf2bcbe50ac (patch) | |
| tree | 44df0acc22951703b8ee9ff2861bbd14ac95bcbb /scripts/debian/rules | |
| parent | 9f65a2f1b69d54a4d15d135f4b3058a989a57429 (diff) | |
add makeppa script and debian
Diffstat (limited to 'scripts/debian/rules')
| -rwxr-xr-x | scripts/debian/rules | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/scripts/debian/rules b/scripts/debian/rules new file mode 100755 index 000000000..3667ed25d --- /dev/null +++ b/scripts/debian/rules @@ -0,0 +1,49 @@ +#!/usr/bin/make -f + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 +configure: configure-stamp +configure-stamp: + dh_testdir + # Add here commands to configure the package. + touch configure-stamp +build: build-stamp +build-stamp: configure-stamp + dh_testdir + make build + touch $@ +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + rm -rf ./debian/xmake + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + #install here + make install prefix=./debian/xmake +binary-indep: build install +# We have nothing to do by default. +# # Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs + dh_installexamples + dh_installman + dh_link + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure |
