| 1 |
#!/usr/bin/make -f |
#!/usr/bin/make -f |
| 2 |
|
|
| 3 |
DESTDIR=`pwd`/debian/fai |
DESTDIR=`pwd`/debian/fai |
| 4 |
|
SHAREDIR = $(DESTDIR)/usr/share/fai |
| 5 |
|
|
| 6 |
# Uncomment this to turn on verbose mode. |
# Uncomment this to turn on verbose mode. |
| 7 |
#export DH_VERBOSE=1 |
#export DH_VERBOSE=1 |
| 53 |
# dh_link |
# dh_link |
| 54 |
dh_compress -Xtemplates |
dh_compress -Xtemplates |
| 55 |
dh_fixperms |
dh_fixperms |
| 56 |
chmod a+rx ${DESTDIR}/usr/share/fai/templates/class/S[0-9]*.{sh,pl} |
chmod a+rx ${SHAREDIR}/templates/class/S[0-9]*.{sh,pl} |
| 57 |
chmod a+rx ${DESTDIR}/usr/share/fai/templates/scripts/* |
chmod a+rx ${SHAREDIR}/templates/scripts/* |
| 58 |
chmod a+rx ${DESTDIR}/usr/share/fai/utils/* |
chmod a+rx ${SHAREDIR}/utils/* |
| 59 |
chmod a+rx ${DESTDIR}/usr/lib/fai/sbin/rcS_fai |
chmod a+rx ${DESTDIR}/usr/lib/fai/sbin/rcS_fai |
| 60 |
perl -pi -e 's/FAIVERSIONSTRING/$(VERSIONSTRING)/' ${DESTDIR}/usr/share/doc/fai/README |
perl -pi -e 's/FAIVERSIONSTRING/$(VERSIONSTRING)/' ${DESTDIR}/usr/share/doc/fai/README |
| 61 |
find ${DESTDIR} -name CVS |xargs rm -rf |
find ${DESTDIR} -name CVS |xargs rm -rf |