ossp-pkg/uuid/Makefile.in 1.1 -> 1.2
--- Makefile.in 2004/01/06 20:14:28 1.1
+++ Makefile.in 2004/01/06 20:20:12 1.2
@@ -55,6 +55,8 @@
PRG_NAME = uuid
PRG_OBJS = uuid_cli.o
+MAN_NAME = uuid.3 uuid.1
+
.SUFFIXES:
.SUFFIXES: .c .o .lo
@@ -83,6 +85,16 @@
--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;).*;;'`; \
+ $(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
+
check: $(PRG_NAME)
@$(LIBTOOL) --mode=execute ./$(PRG_NAME) -n 16
@@ -96,8 +108,12 @@
$(SHTOOL) install -c -m 644 uuid.h $(DESTDIR)$(includedir)/
$(SHTOOL) install -c -m 644 uuid.3 $(DESTDIR)$(mandir)/man3/
@$(LIBTOOL) --mode=install $(SHTOOL) install -c -m 644 libuuid.la $(DESTDIR)$(libdir)/
+ $(SHTOOL) install -c -s -m 755 uuid $(DESTDIR)$(bindir)/
+ $(SHTOOL) install -c -m 644 uuid.1 $(DESTDIR)$(mandir)/man1/
uninstall:
+ -$(RM) $(DESTDIR)$(mandir)/man1/uuid.1
+ -$(RM) $(DESTDIR)$(bindir)/uuid
@$(LIBTOOL) --mode=uninstall $(RM) $(DESTDIR)$(libdir)/libuuid.la
-$(RM) $(DESTDIR)$(mandir)/man3/uuid.3
-$(RM) $(DESTDIR)$(includedir)/uuid.h
@@ -121,7 +137,7 @@
-$(RM) libtool
realclean: distclean
- -$(RM) uuid.3
+ -$(RM) uuid.3 uuid.1
-$(RM) configure config.h.in
-$(RM) shtool
-$(RM) ltmain.sh libtool.m4 config.guess config.sub
|
|