Debian Codegraph @

debian/rules

raw symbols SCIP
1 #!/usr/bin/make -f
2
3 include /usr/share/dpkg/pkg-info.mk
4
5 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
6 export DEB_CPPFLAGS_MAINT_APPEND = \
7 -DOJ_DATE='"$(shell date --utc --date=@${SOURCE_DATE_EPOCH} +%Y-%m-%d)"' \
8 -DOJ_VERSION='"$(DEB_VERSION)"' \
9 -UOJ_VERSION_GIT
10
11 %:
12 dh $@ --buildsystem=cmake
13
14 override_dh_auto_configure:
15 dh_auto_configure -- \
16 -DCMAKE_INSTALL_BINDIR=games \
17 -DDATAPATH=/usr/share/games/jazz-jackrabbit
18
19 execute_after_dh_install:
20 sed -e "/^Name/s/$$/ Holiday Hare '95/" \
21 -e "/^Exec/s/$$/ \/usr\/share\/games\/jazz-jackrabbit-hh95/" \
22 -e "$$ a TryExec=/usr/share/games/jazz-jackrabbit-hh95/jazz-jackrabbit" \
23 < $(CURDIR)/res/unix/OpenJazz.desktop \
24 > $(CURDIR)/debian/openjazz/usr/share/applications/OpenJazz-HH95.desktop