Check-in Number:
|
1770 | |
Date: |
2002-Jan-31 21:48:05 (local)
2002-Jan-31 20:48:05 (UTC) |
User: | rse |
Branch: | |
Comment: |
add ex.3 generation |
Tickets: |
|
Inspections: |
|
Files: |
|
ossp-pkg/ex/.cvsignore 1.3 -> 1.4
--- .cvsignore 2002/01/26 22:29:59 1.3
+++ .cvsignore 2002/01/31 20:48:05 1.4
@@ -1,11 +1,12 @@
-shtool
+Makefile
config.guess
+config.h
+config.h.in
config.sub
-ltmain.sh
-libtool.m4
configure
-config.h.in
ex-config
-config.h
+ex.3
ex_test
-Makefile
+libtool.m4
+ltmain.sh
+shtool
|
|
ossp-pkg/ex/Makefile.in 1.1 -> 1.2
--- Makefile.in 2002/01/26 20:12:19 1.1
+++ Makefile.in 2002/01/31 20:48:05 1.2
@@ -45,6 +45,7 @@
SHTOOL = ./shtool
LIBTOOL = ./libtool
TRUE = true
+POD2MAN = pod2man
LIB_NAME = libex.la
LIB_OBJS = ex.lo
@@ -70,6 +71,15 @@
$(TST_NAME): $(TST_OBJS) $(LIB_NAME)
@$(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -o $(TST_NAME) $(TST_OBJS) $(LIB_NAME) $(LIBS)
+ex.3: ex.pod
+ V1=`$(SHTOOL) version -l txt -d short VERSION`; \
+ V2=`$(SHTOOL) version -l txt -d long VERSION`; \
+ D=`$(SHTOOL) version -l txt -d long VERSION | sed -e 's;.*(;;' -e 's;).*;;'`; \
+ $(POD2MAN) --quotes=none \
+ --section=3 --center="Exception Handling" \
+ --release="$$D" --date="OSSP ex $$V1" ex.pod | \
+ sed -e "s;EX_VERSION_STR;$$V2;" >ex.3
+
check: $(TST_NAME)
@$(LIBTOOL) --mode=execute ./$(TST_NAME)
@@ -78,14 +88,18 @@
$(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(bindir)
$(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(includedir)
$(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(libdir)
+ $(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(mandir)
$(SHTOOL) install -c -m 755 ex-config $(DESTDIR)$(bindir)/
$(SHTOOL) install -c -m 644 ex.h $(DESTDIR)$(includedir)/
@$(LIBTOOL) --mode=install $(SHTOOL) install -c -m 644 libex.la $(DESTDIR)$(libdir)/
+ $(SHTOOL) install -c -m 644 ex.3 $(DESTDIR)$(mandir)/man3/
uninstall:
+ -$(RM) $(DESTDIR)$(mandir)/man3/ex.3
@$(LIBTOOL) --mode=uninstall $(RM) $(DESTDIR)$(libdir)/libex.la
-$(RM) $(DESTDIR)$(includedir)/ex.h
-$(RM) $(DESTDIR)$(bindir)/ex-config
+ -$(RMDIR) $(DESTDIR)$(mandir) >/dev/null 2>&1 || $(TRUE)
-$(RMDIR) $(DESTDIR)$(libdir) >/dev/null 2>&1 || $(TRUE)
-$(RMDIR) $(DESTDIR)$(includedir) >/dev/null 2>&1 || $(TRUE)
-$(RMDIR) $(DESTDIR)$(bindir) >/dev/null 2>&1 || $(TRUE)
@@ -103,6 +117,7 @@
-$(RM) libtool
realclean: distclean
+ -$(RM) ex.3
-$(RM) configure config.h.in
-$(RM) shtool
-$(RM) ltmain.sh libtool.m4 config.guess config.sub
|
|
ossp-pkg/ex/ex.pod 1.18 -> 1.19
--- ex.pod 2002/01/31 20:23:06 1.18
+++ ex.pod 2002/01/31 20:48:05 1.19
@@ -32,7 +32,11 @@
=head1 NAME
-B<OSSP ex> - Exception Library
+B<OSSP ex> - Exception Handling
+
+=head1 VERSION
+
+B<OSSP ex EX_VERSION_STR>
=head1 SYNOPSIS
|
|