rules

来自「Ubuntu packages of security software。 相」· 代码 · 共 89 行

TXT
89
字号
#!/usr/bin/make -f# Sample debian/rules that uses debhelper.# GNU copyright 1997 to 1999 by Joey Hess.include /usr/share/dpatch/dpatch.make# Uncomment this to turn on verbose mode.#export DH_VERBOSE=1# This is the debhelper compatibility version to use.export DH_COMPAT=3autotools:	-rm -f pcre-3.9/config.sub pcre-3.9/config.guess	ln -s /usr/share/misc/config.sub pcre-3.9/config.sub	ln -s /usr/share/misc/config.guess pcre-3.9/config.guessconfigure: configure-stampconfigure-stamp: autotools	dh_testdir	./configure --prefix=/usr	touch $@build: patch build-stampbuild-stamp: configure-stamp	dh_testdir	$(MAKE)        	touch $@clean:  unpatch	dh_testdir	dh_testroot	rm -f build-stamp configure-stamp	-$(MAKE) clean	-rm -f pcre-3.9/config.sub pcre-3.9/config.guess	dh_cleaninstall: build	dh_testdir	dh_testroot	dh_clean -k	dh_installdirs	install -o root -g root -m 755 amap $(CURDIR)/debian/amap/usr/bin	install -o root -g root -m 755 amapcrap $(CURDIR)/debian/amap/usr/bin	install -o root -g root -m 644 appdefs.resp $(CURDIR)/debian/amap/usr/share/amap	install -o root -g root -m 644 appdefs.trig $(CURDIR)/debian/amap/usr/share/amap	install -o root -g root -m 644 appdefs.rpc $(CURDIR)/debian/amap/usr/share/amap# Build architecture-independent files here.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_installdebconf		dh_installdocs#	dh_installexamples#	dh_installmenu#	dh_installlogrotate#	dh_installemacsen#	dh_installpam#	dh_installmime#	dh_installinit#	dh_installcron	dh_installman amap.1 debian/amapcrap.1#	dh_installinfo#	dh_undocumented	dh_installchangelogs CHANGES	dh_link	dh_strip	dh_compress	dh_fixperms#	dh_makeshlibs	dh_installdeb#	dh_perl	dh_shlibdeps	dh_gencontrol	dh_md5sums	dh_builddebbinary: binary-indep binary-arch.PHONY: build clean binary-indep binary-arch binary install configure autotools

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?