Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2
3 export DEB_BUILD_MAINT_OPTIONS=hardening=+all
4
5 %:
6 dh $@
7
8 override_dh_auto_configure:
9 dh_auto_configure -- \
10 -DCMAKE_DISABLE_FIND_PACKAGE_Git=ON \
11 -DCMAKE_INSTALL_BINDIR=/usr/games \
12 -DSTANDALONE_INSTALL=FALSE \
13 -DSTEAM=FALSE \
14 -DUSE_VENDORED_PHYSFS=FALSE \
15 -DUSE_VENDORED_SDL=FALSE \
16 -DUSE_VENDORED_SDL_NET=FALSE
17
18 execute_after_dh_auto_install:
19 # Wanted documentations will be installed using dh_installdocs
20 rm -rfv $(CURDIR)/debian/maelstrom/usr/share/doc/
21 # Do not ship the empty mods directory
22 rmdir $(CURDIR)/debian/maelstrom/usr/share/Maelstrom/mods