Add infrastructure to build debian packages.
[tfortune.git] / debian / rules
1 #!/usr/bin/make -f
2
3 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
4 %:
5 dh "$@"
6
7 # plain dh_auto_configure uses options which configure does not understand
8 override_dh_auto_configure:
9 ./configure --prefix=/usr --bindir=/usr/games
10 # needed because dh_autoreconf overwrites our configure wrapper
11 override_dh_autoreconf:
12 $(MAKE) configure.sh