Debian Codegraph @

debian/rules_

raw
1 #!/usr/bin/make -f
2 #export DH_VERBOSE = 1
3
4 SCONS=/usr/bin/scons
5
6 # see FEATURE AREAS in dpkg-buildflags(1)
7 #export DEB_BUILD_MAINT_OPTIONS = hardening=+all
8
9 # see ENVIRONMENT in dpkg-buildflags(1)
10 # package maintainers to append CFLAGS
11 #export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
12 # package maintainers to append LDFLAGS
13 #export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
14
15 export DEB_BUILD_MAINT_OPTIONS=hardening=+all
16
17 %:
18 dh $@
19
20 override_dh_auto_clean:
21 $(SCONS) -c
22
23 # Clean up .sconsign files so that they won't end up in the source
24 # package
25 find . -name .scons* -print | xargs \rm -f
26
27 override_dh_auto_configure:
28 echo "No need to configure $(SCONS)"
29
30 override_dh_auto_install:
31 $(SCONS) BINDIR="#debian/atom4/usr/games" DATADIR="#debian/atom4/usr/share/games/atom4" REALDATADIR="/usr/share/games/atom4" MANDIR="#debian/atom4/usr/share/man" PROGLIBPATH="#proglib"
32
33 # Clean up .sconsign files so that they won't end up in the source
34 # package
35 find . -name .scons* -print | xargs \rm -f