aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2000-11-20 14:44:06 +0000
committerFrancois Pons <fpons@mandriva.com>2000-11-20 14:44:06 +0000
commit2c647453679774d3cf44aa5f88a870a1036c66a3 (patch)
tree81e9e293bc141739aaba241b4aade400513911c8 /Makefile
parentace4fd398df0f287ff1016915a2453e3d87b65f6 (diff)
downloadrpmtools-2c647453679774d3cf44aa5f88a870a1036c66a3.tar
rpmtools-2c647453679774d3cf44aa5f88a870a1036c66a3.tar.gz
rpmtools-2c647453679774d3cf44aa5f88a870a1036c66a3.tar.bz2
rpmtools-2c647453679774d3cf44aa5f88a870a1036c66a3.tar.xz
rpmtools-2c647453679774d3cf44aa5f88a870a1036c66a3.zip
*** empty log message ***
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index e39211d..4886abb 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
-VERSION = 2.0
+VERSION = 2.1
NAME = rpmtools
FROMC = parsehdlist rpm2header #rpm-find-leaves
-FROMCC = gendepslist2 #hdlist2names hdlist2files hdlist2prereq hdlist2groups
+FROMCC = #gendepslist2 hdlist2names hdlist2files hdlist2prereq hdlist2groups
FROMC_STATIC = $(FROMC:%=%_static)
FROMCC_STATIC = $(FROMCC:%=%_static)
ALL = $(FROMC) $(FROMCC)
@@ -17,16 +17,16 @@ install: $(ALL)
install genhdlist_cz2 genhdlists genbasefiles genfilelist packdrake $(PREFIX)/usr/bin
$(FROMCC): %: %.cc
- $(CXX) $(CFLAGS) $< $(LIBRPM) -o $@
+ $(CXX) $(CFLAGS) -DVERSION_STRING=\"$(VERSION)\" $< $(LIBRPM) -o $@
$(FROMCC_STATIC): %_static: %.cc
- $(CXX) -s -static $(CFLAGS) $< $(LIBRPM) -o $@
+ $(CXX) -s -static $(CFLAGS) -DVERSION_STRING=\"$(VERSION)\" $< $(LIBRPM) -o $@
$(FROMC): %: %.c
- $(CC) $(CFLAGS) $< $(LIBRPM) -o $@
+ $(CC) $(CFLAGS) -DVERSION_STRING=\"$(VERSION)\" $< $(LIBRPM) -o $@
$(FROMC_STATIC): %_static: %.c
- $(CC) -s -static $(CFLAGS) $< $(LIBRPM) -o $@
+ $(CC) -s -static $(CFLAGS) -DVERSION_STRING=\"$(VERSION)\" $< $(LIBRPM) -o $@
clean:
rm -rf *~ $(ALL) $(ALL_STATIC)