summaryrefslogtreecommitdiff
path: root/rpmdb
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2002-05-21 14:56:05 +0000
committerjbj <devnull@localhost>2002-05-21 14:56:05 +0000
commitdb4f917fa91434a46fedb55abd1f0723f58f15ac (patch)
treeb3d017ae76ee879777625e6745fca00a20aa6d6e /rpmdb
parent0b61bf14759ea3c8f8ff1442ddad8bd309906e4e (diff)
downloadlibrpm-tizen-db4f917fa91434a46fedb55abd1f0723f58f15ac.tar.gz
librpm-tizen-db4f917fa91434a46fedb55abd1f0723f58f15ac.tar.bz2
librpm-tizen-db4f917fa91434a46fedb55abd1f0723f58f15ac.zip
Make sure that db.h symlink is created.
CVS patchset: 5442 CVS date: 2002/05/21 14:56:05
Diffstat (limited to 'rpmdb')
-rw-r--r--rpmdb/Makefile.am7
1 files changed, 5 insertions, 2 deletions
diff --git a/rpmdb/Makefile.am b/rpmdb/Makefile.am
index 2ee5fd0ac..50e579178 100644
--- a/rpmdb/Makefile.am
+++ b/rpmdb/Makefile.am
@@ -42,6 +42,9 @@ librpmdb_la_LDFLAGS = -release @VERSION@ @libdb3@
librpmdb_la_LIBADD = $(DBLIBOBJS) $(DB3LOBJS)
librpmdb_la_DEPENDENCIES = $(DBLIBOBJS) .created
+# XXX make sure that db.h symlink is generated
+dbconfig.c: db.h
+
# XXX Add internal libtool dependence
install-data-local:
@cd $(DESTDIR)/$(libdir) && \
@@ -65,7 +68,7 @@ tagtbl.c: $(top_srcdir)/lib/rpmlib.h
@echo 'const int rpmTagTableSize = sizeof(rpmTagTbl) / sizeof(rpmTagTbl[0]) - 1;' >> $@
db.h:
- ln -sf ../$(WITH_DB_SUBDIR)/db.h $@
+ @ln -sf ../$(WITH_DB_SUBDIR)/db.h $@
.created: db.h
for lo in $(DB3LOBJS); do \
@@ -74,7 +77,7 @@ db.h:
touch $@
clean-local:
- rm -f $(DB3LOBJS) *.o .created
+ rm -f $(DB3LOBJS) *.o .created db.h
# XXX TODO: figger why .created addition here dinna work
BUILT_SOURCES = tagtbl.c # .created