Subversion Repositories nettle

Compare Revisions

Ignore whitespace Rev 3 → Rev 4

/trunk/debian/patches/99_autotools_files.dpatch
7,8 → 7,8
 
dpatch_patch() {
for f in config.sub config.guess; do
if ! test -e $f.orig; then
mv $f $f.orig
if ! test -e $f.dp-orig; then
mv $f $f.dp-orig
cp --remove-destination /usr/share/misc/$f .
fi
done
16,8 → 16,8
 
dpatch_unpatch() {
for f in config.sub config.guess; do
if test -e $f.orig; then
mv -f $f.orig $f
if test -e $f.dp-orig; then
mv -f $f.dp-orig $f
fi
done
}
/trunk/debian/rules
33,7 → 33,8
#major=`ls src/.libs/lib*.so.* | \
# awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'`
 
config.status: patch configure
configure: config.status
config.status: ${DPATCH_STAMPFN}
dh_testdir
# Add here commands to configure the package.
CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) \
55,6 → 56,8
touch build-stamp
 
clean: clean-patched unpatch
dh_clean
 
clean-patched:
dh_testdir
dh_testroot
63,8 → 66,6
# Add here commands to clean up after the build process.
-$(MAKE) distclean
 
dh_clean
 
install: build
dh_testdir
dh_testroot
101,4 → 102,4
dh_builddeb
 
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install
.PHONY: configure build clean clean-patched binary-indep binary-arch binary install