-binary-arch: build
-# dh_testversion
- dh_testdir
- dh_testroot
- dh_clean -k
- dh_installdirs
-
- # Add here commands to install the files into debian/tmp
- install -s netris debian/tmp/usr/games
- install -s sr debian/tmp/usr/games/netris-sample-robot
-
- dh_installdocs FAQ robot_desc
- dh_installexamples sr.c
- dh_installmenu
- dh_installmanpages
- dh_undocumented netris.1 netris-sample-robot.1
- dh_installchangelogs
- dh_strip
- dh_compress
- dh_fixperms
- dh_installdeb
- dh_shlibdeps
- dh_gencontrol
- dh_md5sums
- dh_builddeb
-
-source diff:
- @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
+binary-arch: build install
+ $(checkdir)
+ $(checkroot)
+ $(INSTALL_DIR) debian/netris/DEBIAN debian/netris/usr/share/menu
+ $(INSTALL_FILE) debian/menu debian/netris/usr/share/menu/netris
+ $(INSTALL_FILE) debian/copyright debian/README.Debian \
+ debian/netris/usr/share/doc/netris
+ $(INSTALL_FILE) debian/changelog \
+ debian/netris/usr/share/doc/netris/changelog.Debian
+ gzip -9 debian/netris/usr/share/doc/netris/changelog.Debian
+ $(INSTALL_SCRIPT) debian/postinst debian/postrm \
+ debian/netris/DEBIAN
+ dpkg-shlibdeps -Tdebian/substvars -dDepends \
+ debian/netris/usr/games/netris*
+ dpkg-gencontrol -ldebian/changelog -isp -Tdebian/substvars -pnetris \
+ -Pdebian/netris
+ cd debian/netris && find * -type f ! -regex '^DEBIAN/.*' -print0 | \
+ xargs -r0 md5sum > DEBIAN/md5sums
+ dpkg --build debian/netris ..
+