diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2000-03-08 00:32:57 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2000-03-08 00:32:57 +0000 |
commit | 96f663a1c39517c951282184848bf55ac22d1c15 (patch) | |
tree | c2737c74f07e4b808fd298e5506e7d80f1ff718e /tools/Makefile | |
parent | 26f5c1cfb24bff40293d312c04572ab38a0148a0 (diff) | |
download | drakx-backup-do-not-use-96f663a1c39517c951282184848bf55ac22d1c15.tar drakx-backup-do-not-use-96f663a1c39517c951282184848bf55ac22d1c15.tar.gz drakx-backup-do-not-use-96f663a1c39517c951282184848bf55ac22d1c15.tar.bz2 drakx-backup-do-not-use-96f663a1c39517c951282184848bf55ac22d1c15.tar.xz drakx-backup-do-not-use-96f663a1c39517c951282184848bf55ac22d1c15.zip |
no_comment
Diffstat (limited to 'tools/Makefile')
-rw-r--r-- | tools/Makefile | 19 |
1 files changed, 7 insertions, 12 deletions
diff --git a/tools/Makefile b/tools/Makefile index f42f2f2c7..e3241f872 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -13,28 +13,23 @@ $(DIRS): make -C $@ install: - $(MAKE) rpm2header - install make_mdkinst_stage2 build_archive gendepslist2 rpm2header genhdlist_cz2 $(ROOTDEST)/misc + install make_mdkinst_stage2 $(ROOTDEST)/misc + cd /usr/bin ; install build_archive $(ROOTDEST)/misc || { echo "build_archive is missing"; exit 1; } + cd /usr/bin ; install gendepslist2 rpm2header genhdlist_cz2 $(ROOTDEST)/misc || { echo "install rpmtools first!" ; exit 1; } mkdir -p $(DEST)/usr/bin xhost+: %: %.c $(CC) $(CFLAGS) $< -L/usr/X11R6/lib -lX11 -o $@ -gendepslist: %: %.cc - $(CXX) -I/usr/include/rpm $(CFLAGS) $< -lrpm -ldb1 -lz -o $@ - -rpm2header: %: %.c - $(CC) -I/usr/include/rpm $(CFLAGS) $< -lrpm -ldb1 -lz -o $@ - ddcprobe/ddcxinfos: $(MAKE) -C ddcprobe ddcxinfos -$(BASE)/depslist: $(BASE)/hdlist.cz2 gendepslist2 - ./gendepslist2 -o $@ $< +$(BASE)/depslist: $(BASE)/hdlist.cz2 + gendepslist2 -o $@ $< $(BASE)/hdlist.cz2: $(RPMS) - $(ROOTDEST)/misc/genhdlist_cz2 --noclean --distrib $(ROOTDEST) + genhdlist_cz2 --noclean --distrib $(ROOTDEST) clean: for i in $(DIRS); do $(MAKE) -C $$i clean; done - rm -rf *~ gendepslist xhost+ rpm2header ddcprobe/ddcxinfos */*.o + rm -rf *~ xhost+ ddcprobe/ddcxinfos */*.o |