debian/rules: use symbolic links instead of copy to update config.sub and

config.guess as suggested in /usr/share/doc/autotools-dev/README.Debian.gz
Tries to limit difference with the Ubuntu package
This commit is contained in:
Ludovic Rousseau 2009-03-29 14:22:35 +00:00
parent 18ac091ea6
commit a5274e6123
2 changed files with 13 additions and 4 deletions

8
debian/changelog vendored
View File

@ -1,3 +1,11 @@
pcsc-lite (1.5.2-2) unstable; urgency=low
* debian/rules: use symbolic links instead of copy to update config.sub and
config.guess as suggested in /usr/share/doc/autotools-dev/README.Debian.gz
Tries to limit difference with the Ubuntu package
-- Ludovic Rousseau <rousseau@debian.org> Sun, 29 Mar 2009 16:21:57 +0200
pcsc-lite (1.5.2-1) unstable; urgency=low
* New upstream release

9
debian/rules vendored
View File

@ -30,6 +30,11 @@ endif
configure: configure-stamp
configure-stamp:
dh_testdir
ln -sf /usr/share/misc/config.sub .
ln -sf /usr/share/misc/config.guess .
rm -f config.cache
# we add LDFLAGS="-lpthread" for bug #253629
./configure $(confflags) \
--sysconfdir=/etc \
@ -59,10 +64,6 @@ clean:
-test -e Makefile && \
$(MAKE) distclean
rm -f conftest.c conftest.o
-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