Debian Codegraph @

debian/rules

raw symbols SCIP
1 #!/usr/bin/make -f
2 # debian/rules for the Debian xutils package.
3 # Copyright © 2004 Scott James Remnant <[email protected]>
4 # Copyright © 2005 Daniel Stone <[email protected]>
5 # Copyright © 2005 David Nusinow <[email protected]>
6
7 # Uncomment this to turn on verbose mode.
8 #export DH_VERBOSE=1
9
10 STAMP_DIRscip-debian debian x11-apps 7.7+11 x11-apps/rules/STAMP_DIR. = stampdir
11
12 # This package contains multiple modules as shipped by upstream. Each module is # contained in a subdirectory in the root dir of the package. You must list each
13 # subdirectory explicitly so that the build system knows what to build
14 DEF_SUBDIRSscip-debian debian x11-apps 7.7+11 x11-apps/rules/DEF_SUBDIRS.=bitmap ico oclock rendercheck transset x11perf xbiff xcalc xclipboard xclock xconsole xcursorgen xditview xedit xeyes xgc xload xlogo xmag xman xmore xwd xwud
15 SUBDIRSscip-debian debian x11-apps 7.7+11 x11-apps/rules/SUBDIRS.=$(DEF_SUBDIRSscip-debian debian x11-apps 7.7+11 x11-apps/rules/DEF_SUBDIRS.)
16 CONFIG_STAMPSscip-debian debian x11-apps 7.7+11 x11-apps/rules/CONFIG_STAMPS. = $(addprefixscip-debian debian x11-apps 7.7+11 x11-apps/rules/addprefix. $(STAMP_DIRscip-debian debian x11-apps 7.7+11 x11-apps/rules/STAMP_DIR.)/configure-, $(SUBDIRSscip-debian debian x11-apps 7.7+11 x11-apps/rules/SUBDIRS.))
17 BUILD_STAMPSscip-debian debian x11-apps 7.7+11 x11-apps/rules/BUILD_STAMPS. = $(addprefixscip-debian debian x11-apps 7.7+11 x11-apps/rules/addprefix. $(STAMP_DIRscip-debian debian x11-apps 7.7+11 x11-apps/rules/STAMP_DIR.)/build-,$(SUBDIRSscip-debian debian x11-apps 7.7+11 x11-apps/rules/SUBDIRS.))
18
19 %scip-debian debian x11-apps 7.7+11 x11-apps/rules/`%`().:
20 dh $@ --with quilt
21
22 override_dh_autoreconfscip-debian debian x11-apps 7.7+11 x11-apps/rules/override_dh_autoreconf().:
23 chmod +x debian/autogen.sh
24 dh_autoreconfscip-debian debian debhelper . dh_autoreconf(). debian/autogen.sh -- $(SUBDIRSscip-debian debian x11-apps 7.7+11 x11-apps/rules/SUBDIRS.)
25
26 override_dh_auto_configurescip-debian debian x11-apps 7.7+11 x11-apps/rules/override_dh_auto_configure().: $(CONFIG_STAMPSscip-debian debian x11-apps 7.7+11 x11-apps/rules/CONFIG_STAMPS.)
27
28 $(scip-debian debian x11-apps 7.7+11 x11-apps/rules/`$(STAMP_DIR)/configure-%`().STAMP_DIRscip-debian debian x11-apps 7.7+11 x11-apps/rules/STAMP_DIR.)scip-debian debian x11-apps 7.7+11 x11-apps/rules/`$(STAMP_DIR)/configure-%`()./configure-%:
29 mkdir -p $(STAMP_DIRscip-debian debian x11-apps 7.7+11 x11-apps/rules/STAMP_DIR.)
30 dh_auto_configurescip-debian debian debhelper . dh_auto_configure(). -D$* -B$*-build -- \
31 --libdir=\$${prefix}/lib \
32 --disable-silent-rules \
33 MANCONF="/etc/manpath.config" \
34 MKTEMP=/bin/mktemp
35 >$@
36
37 override_dh_auto_buildscip-debian debian x11-apps 7.7+11 x11-apps/rules/override_dh_auto_build().: $(BUILD_STAMPSscip-debian debian x11-apps 7.7+11 x11-apps/rules/BUILD_STAMPS.)
38
39 $(scip-debian debian x11-apps 7.7+11 x11-apps/rules/`$(STAMP_DIR)/build-%`().STAMP_DIRscip-debian debian x11-apps 7.7+11 x11-apps/rules/STAMP_DIR.)scip-debian debian x11-apps 7.7+11 x11-apps/rules/`$(STAMP_DIR)/build-%`()./build-%:
40 mkdir -p $(STAMP_DIRscip-debian debian x11-apps 7.7+11 x11-apps/rules/STAMP_DIR.)
41 dh_auto_buildscip-debian debian debhelper . dh_auto_build(). -D$* -B$*-build
42 >$@
43
44 override_dh_auto_cleanscip-debian debian x11-apps 7.7+11 x11-apps/rules/override_dh_auto_clean().: $(addprefixscip-debian debian x11-apps 7.7+11 x11-apps/rules/addprefix. clean-, $(SUBDIRSscip-debian debian x11-apps 7.7+11 x11-apps/rules/SUBDIRS.))
45 rm -rf stampdir
46
47 clean-%scip-debian debian x11-apps 7.7+11 x11-apps/rules/`clean-%`().:
48 dh_auto_cleanscip-debian debian debhelper . dh_auto_clean(). -D$* -B$*-build
49
50 override_dh_auto_installscip-debian debian x11-apps 7.7+11 x11-apps/rules/override_dh_auto_install().:
51 for FILE in $(SUBDIRSscip-debian debian x11-apps 7.7+11 x11-apps/rules/SUBDIRS.); do \
52 cd "$$FILE"-build && $(MAKEscip-debian debian x11-apps 7.7+11 x11-apps/rules/MAKE.) DESTDIR=$(CURDIRscip-debian debian x11-apps 7.7+11 x11-apps/rules/CURDIR.)/debian/tmp install ; \
53 cd ..; \
54 done
55
56 override_dh_missingscip-debian debian x11-apps 7.7+11 x11-apps/rules/override_dh_missing().:
57 dh_missingscip-debian debian debhelper . dh_missing(). --list-missing
58
59 .PHONYscip-debian debian x11-apps 7.7+11 x11-apps/rules/`.PHONY`().: get-tarballs
60 get-tarballsscip-debian debian x11-apps 7.7+11 x11-apps/rules/get-tarballs().: $(addprefixscip-debian debian x11-apps 7.7+11 x11-apps/rules/addprefix. get-tarball-,$(SUBDIRSscip-debian debian x11-apps 7.7+11 x11-apps/rules/SUBDIRS.))
61
62 .PHONYscip-debian debian x11-apps 7.7+11 x11-apps/rules/`.PHONY`().: get-tarball-%
63 get-tarball-%scip-debian debian x11-apps 7.7+11 x11-apps/rules/`get-tarball-%`().:
64 uscan --no-conf --destdir . --download --no-symlink --package $* --upstream-version $(shell awk -F = '/^PACKAGE_VERSION=/ { print $$2 }' < $*/configure ) --watchfile debian/watch.$* || test $$? = 1
65
66 .PHONYscip-debian debian x11-apps 7.7+11 x11-apps/rules/`.PHONY`().: update-copyright
67 update-copyrightscip-debian debian x11-apps 7.7+11 x11-apps/rules/update-copyright().: $(addsuffixscip-debian debian x11-apps 7.7+11 x11-apps/rules/addsuffix. /COPYING, $(SUBDIRSscip-debian debian x11-apps 7.7+11 x11-apps/rules/SUBDIRS.)) debian/copyright.head
68 cp debian/copyright.head debian/copyright
69 for subdir in $(SUBDIRSscip-debian debian x11-apps 7.7+11 x11-apps/rules/SUBDIRS.); do \
70 echo >> debian/copyright && \
71 echo $$subdir: >> debian/copyright && \
72 sed -e 's/^./ &/' < $$subdir/COPYING >> debian/copyright \
73 || exit; done
74