| 14 |
build-stamp: |
build-stamp: |
| 15 |
dh_testdir |
dh_testdir |
| 16 |
|
|
| 17 |
# Add here commands to compile the package. |
# Add here commands to compile the package. |
| 18 |
$(MAKE) all |
$(MAKE) all |
| 19 |
|
|
| 20 |
touch build-stamp |
touch build-stamp |
| 24 |
# dh_testroot |
# dh_testroot |
| 25 |
rm -f build-stamp |
rm -f build-stamp |
| 26 |
dh_clean |
dh_clean |
| 27 |
# Add here commands to clean up after the build process. |
# Add here commands to clean up after the build process. |
| 28 |
-$(MAKE) clean |
-$(MAKE) clean |
| 29 |
|
|
| 30 |
install: build |
install: build |
| 32 |
dh_testroot |
dh_testroot |
| 33 |
dh_clean -k |
dh_clean -k |
| 34 |
dh_installdirs |
dh_installdirs |
| 35 |
# Add here commands to install the package into debian/fai. |
# Add here commands to install the package into debian/fai. |
| 36 |
$(MAKE) install DESTDIR=`pwd`/debian/fai |
$(MAKE) install DESTDIR=`pwd`/debian/fai |
| 37 |
|
|
| 38 |
|
|
| 58 |
chmod a+rx ${DESTDIR}/usr/lib/fai/sbin/rcS_fai |
chmod a+rx ${DESTDIR}/usr/lib/fai/sbin/rcS_fai |
| 59 |
perl -pi -e 's/FAIVERSIONSTRING/$(VERSIONSTRING)/' ${DESTDIR}/usr/share/doc/fai/README |
perl -pi -e 's/FAIVERSIONSTRING/$(VERSIONSTRING)/' ${DESTDIR}/usr/share/doc/fai/README |
| 60 |
find ${DESTDIR} -name CVS |xargs rm -rf |
find ${DESTDIR} -name CVS |xargs rm -rf |
| 61 |
# You may want to make some executables suid here. |
# You may want to make some executables suid here. |
| 62 |
dh_installdeb |
dh_installdeb |
| 63 |
dh_gencontrol |
dh_gencontrol |
| 64 |
dh_md5sums |
dh_md5sums |