| 1 | #! /usr/bin/make -f |
| 2 | |
| 3 | CDBS = /usr/share/cdbs/1 |
| 4 | |
| 5 | include $(CDBS)/class/autotools.mk |
| 6 | include $(CDBS)/rules/debhelper.mk |
| 7 | |
| 8 | ###-------------------------------------------------------------------------- |
| 9 | ### General definitions. |
| 10 | |
| 11 | DEB_BUILDDIR = $(CURDIR)/build |
| 12 | DEB_DESTDIR = $(CURDIR)/debian/fwd |
| 13 | |
| 14 | ###-------------------------------------------------------------------------- |
| 15 | ### Documentation. |
| 16 | |
| 17 | DEB_INSTALL_DOCS_fwd = GRAMMAR |
| 18 | |
| 19 | ###-------------------------------------------------------------------------- |
| 20 | ### Compatibility package. |
| 21 | |
| 22 | DEB_INSTALL_DIRS_fw = \ |
| 23 | usr/bin \ |
| 24 | usr/share/man/man1 |
| 25 | |
| 26 | install/fw:: |
| 27 | install -m755 debian/fw.sh debian/fw/usr/bin/fw |
| 28 | ln -s fwd.1.gz debian/fw/usr/share/man/man1/fw.1.gz |
| 29 | |
| 30 | ###----- That's all, folks -------------------------------------------------- |