projects
/
debian
/
cpmtools
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
change the way config.sub/guess are handled to work better in pristine chroot
[debian/cpmtools]
/
debian
/
rules
diff --git
a/debian/rules
b/debian/rules
index 43f57a669a87dc3d84b4c8ff3561b05a303d3f8a..31d753cf39b07801bc330c95c04fa93f9e4ef213 100755
(executable)
--- a/
debian/rules
+++ b/
debian/rules
@@
-6,6
+6,8
@@
configure: configure-stamp
configure-stamp:
dh_testdir
configure: configure-stamp
configure-stamp:
dh_testdir
+ cp /usr/share/misc/config.sub config.sub
+ cp /usr/share/misc/config.guess config.guess
./configure --prefix=/usr --mandir=\$${prefix}/share/man \
--datarootdir=/etc/cpmtools
touch configure-stamp
./configure --prefix=/usr --mandir=\$${prefix}/share/man \
--datarootdir=/etc/cpmtools
touch configure-stamp
@@
-22,12
+24,6
@@
clean:
dh_testroot
rm -f build-stamp configure-stamp
[ ! -f Makefile ] || $(MAKE) distclean
dh_testroot
rm -f build-stamp configure-stamp
[ ! -f Makefile ] || $(MAKE) distclean
-
- -test -r /usr/share/misc/config.sub && \
- cp -f /usr/share/misc/config.sub config.sub
- -test -r /usr/share/misc/config.guess && \
- cp -f /usr/share/misc/config.guess config.guess
-
dh_clean
install: build
dh_clean
install: build