OSSP CVS Repository

ossp - Difference in ossp-pkg/l2/Makefile.in versions 1.31 and 1.32
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/l2/Makefile.in 1.31 -> 1.32

--- Makefile.in  2001/11/07 16:18:38     1.31
+++ Makefile.in  2001/11/08 09:53:33     1.32
@@ -114,21 +114,11 @@
     l2_ut_sa.c \
     l2_version.c
 
-#   file containing the official version information
-_VERSION_FILE = \
-    l2_version.c
-
-#   helper macro for updating version information
-_VERSION = \
-    $(SHTOOL) version -lc -nL2 -pl2_ $$OPT $(_VERSION_FILE);\
-    V=`$(SHTOOL) version -lc -dlong $(_VERSION_FILE)`;\
-    sed -e "s/Version .*(.*)/Version $$V/g" <README >README.n && mv README.n README
-
 #   helper macro for generating a Unix manual page
 _MANPAGE = \
-    V1=`$(SHTOOL) version -lc -dshort $(_VERSION_FILE)`; \
-    V2=`$(SHTOOL) version -lc -dlong $(_VERSION_FILE)`; \
-    D=`$(SHTOOL) version -lc -dlong $(_VERSION_FILE) |\
+    V1=`$(SHTOOL) version -lc -dshort l2_version.c`; \
+    V2=`$(SHTOOL) version -lc -dlong l2_version.c`; \
+    D=`$(SHTOOL) version -lc -dlong l2_version.c |\
        sed -e 's;.*(;;' -e 's;).*;;'`; \
     $(POD2MAN) --section=$${SEC} --center="$${ONELINE}" \
                --release="$$D" --date="$${NAME} $$V1" $(S)$${BASENAME}.pod |\
@@ -181,15 +171,15 @@
         $(LIBTOOL) --mode=link --quiet $(CC) $(LDFLAGS) -o l2_sockmon l2_sockmon.o $(LIBS)
 
 #   build Unix manual pages
-l2-config.1: l2-config.pod $(_VERSION_FILE)
+l2-config.1: l2-config.pod l2_version.c
         BASENAME="l2-config"; SEC=1; \
         NAME="L2"; ONELINE="Logging Library"; \
         $(_MANPAGE)
-l2.3: l2.pod $(_VERSION_FILE)
+l2.3: l2.pod l2_version.c
         BASENAME="l2"; SEC=3; \
         NAME="L2"; ONELINE="Logging Library"; \
         $(_MANPAGE)
-l2++.3: l2++.pod $(_VERSION_FILE)
+l2++.3: l2++.pod l2_version.c
         BASENAME="l2++"; SEC=3; \
         NAME="L2"; ONELINE="Logging Library (C++)"; \
         $(_MANPAGE)
@@ -267,7 +257,7 @@
         $(RM) l2.h
 
 #   remove everything which can be regenerated
-#   by "autoconf && autoheader && ./configure && make all"
+#   by "./devtool autogen"
 realclean: distclean
         $(RM) configure
         $(RM) config.guess config.sub
@@ -280,25 +270,6 @@
         $(RM) l2_spec_scan.c
         $(RM) l2_spec_parse.c l2_spec_parse.h
 
-#   roll a distribution tarball
-dist: distclean
-        @$(SHTOOL) fixperm -v .; \
-        V=`$(SHTOOL) version -l c -d short l2_version.c`; \
-        $(SHTOOL) tarball -o l2-$${V}.tar.gz -d str-$${V} -u ossp -g ossp \
-                          -e 'CVS,\.cvsignore,\.[ao],^\.,autogen.sh' -c 'gzip --best' .
-
-#   increase or update version information
-new-version:
-        @V="$(VERSION)"; \
-        if [ ".$$V" != . ]; then \
-                OPT="-s$$V"; \
-        else \
-                OPT="-e"; \
-        fi; \
-        $(_VERSION)
-update-version:
-        @OPT="-s`$(SHTOOL) version -lc -dshort $(_VERSION_FILE)`" && $(_VERSION)
-
 #   create dependencies
 depend: all
         cp Makefile.in Makefile.in.bak \

CVSTrac 2.0.1