Fix for missing depcomp
authorAdam Dickmeiss <adam@indexdata.dk>
Tue, 6 May 2003 11:37:18 +0000 (11:37 +0000)
committerAdam Dickmeiss <adam@indexdata.dk>
Tue, 6 May 2003 11:37:18 +0000 (11:37 +0000)
Makefile.am
buildconf.sh

index caf81bd..717f663 100644 (file)
@@ -1,6 +1,6 @@
 ## Copyright (C) 1994-2003, Index Data
 ## All rights reserved.
 ## Copyright (C) 1994-2003, Index Data
 ## All rights reserved.
-## $Id: Makefile.am,v 1.20 2003-02-20 21:09:22 adam Exp $
+## $Id: Makefile.am,v 1.21 2003-05-06 11:37:18 adam Exp $
 
 AUTOMAKE_OPTIONS = foreign 
 
 
 AUTOMAKE_OPTIONS = foreign 
 
@@ -22,6 +22,13 @@ dist-hook:
        cp $(srcdir)/debian/changelog $(distdir)/debian
        cp $(srcdir)/debian/rules $(distdir)/debian
        cp $(srcdir)/debian/postinst $(distdir)/debian
        cp $(srcdir)/debian/changelog $(distdir)/debian
        cp $(srcdir)/debian/rules $(distdir)/debian
        cp $(srcdir)/debian/postinst $(distdir)/debian
+       if test -f $(srcdir)/depcomp; then \
+               if test -f $(distdir)/depcomp; then \
+                       echo "depcomp OK";\
+               else \
+                       cp $(srcdir)/depcomp $(distdir)/depcomp;\
+               fi \
+       fi
 
 rpm: $(PACKAGE)-$(VERSION).tar.gz
        cp $(PACKAGE)-$(VERSION).tar.gz /usr/src/redhat/SOURCES
 
 rpm: $(PACKAGE)-$(VERSION).tar.gz
        cp $(PACKAGE)-$(VERSION).tar.gz /usr/src/redhat/SOURCES
index 9a9d2ed..faa11cf 100755 (executable)
@@ -1,9 +1,9 @@
 #!/bin/sh
 #!/bin/sh
-# $Id: buildconf.sh,v 1.14 2002-08-02 08:20:31 adam Exp $
+# $Id: buildconf.sh,v 1.15 2003-05-06 11:37:18 adam Exp $
 set -x
 aclocal
 libtoolize --automake --force 
 set -x
 aclocal
 libtoolize --automake --force 
-automake -a 
+automake --add-missing 
 autoconf
 if [ -f config.cache ]; then
        rm config.cache
 autoconf
 if [ -f config.cache ]; then
        rm config.cache