Check-in Number:
|
3728 | |
Date: |
2004-Jan-10 20:34:26 (local)
2004-Jan-10 19:34:26 (UTC) |
User: | rse |
Branch: | |
Comment: |
fix uuid(1) manual page generation |
Tickets: |
|
Inspections: |
|
Files: |
|
ossp-pkg/uuid/Makefile.in 1.6 -> 1.7
--- Makefile.in 2004/01/10 17:01:22 1.6
+++ Makefile.in 2004/01/10 19:34:26 1.7
@@ -43,6 +43,7 @@
LDFLAGS = @LDFLAGS@
LIBS = @LIBS@
RM = rm -f
+CP = cp
RMDIR = rmdir
SHTOOL = ./shtool
LIBTOOL = ./libtool
@@ -75,7 +76,7 @@
$(PRG_NAME): $(PRG_OBJS) $(LIB_NAME)
@$(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -o $(PRG_NAME) $(PRG_OBJS) $(LIB_NAME) $(LIBS)
-man: uuid.3
+man: uuid.3 uuid.1
uuid.3: uuid.pod
V1=`$(SHTOOL) version -l txt -d short VERSION`; \
V2=`$(SHTOOL) version -l txt -d long VERSION`; \
@@ -84,16 +85,16 @@
--section=3 --center="Universally Unique Identifiers" \
--release="$$D" --date="OSSP uuid $$V1" uuid.pod | \
sed -e "s;UUID_VERSION_STR;$$V2;" >uuid.3
-
-man: uuid.1
uuid.1: uuid_cli.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;).*;;'`; \
+ $(CP) uuid_cli.pod /tmp/uuid.pod; \
$(POD2MAN) --quotes=none \
--section=1 --center="Universally Unique Identifiers" \
- --release="$$D" --date="OSSP uuid $$V1" uuid_cli.pod | \
- sed -e "s;UUID_VERSION_STR;$$V2;" >uuid.1
+ --release="$$D" --date="OSSP uuid $$V1" /tmp/uuid.pod | \
+ sed -e "s;UUID_VERSION_STR;$$V2;" >uuid.1; \
+ $(RM) /tmp/uuid.pod
check: $(PRG_NAME)
@$(LIBTOOL) --mode=execute ./$(PRG_NAME) -n 16
|
|