Check-in Number:
|
1308 | |
Date: |
2001-Nov-13 13:47:41 (local)
2001-Nov-13 12:47:41 (UTC) |
User: | simons |
Branch: | |
Comment: |
Added the man page to the build process. |
Tickets: |
|
Inspections: |
|
Files: |
|
ossp-pkg/var/Makefile 1.3 -> 1.4
--- Makefile 2001/11/13 12:15:19 1.3
+++ Makefile 2001/11/13 12:47:41 1.4
@@ -3,6 +3,7 @@
CC = gcc
AR = ar
RANLIB = ranlib
+POD2MAN = pod2man
WARNFLAGS = -Wall -pedantic
OPTFLAGS = -O3 -pipe
@@ -16,7 +17,7 @@
.c.o:
$(CC) $(CPPFLAGS) $(WARNFLAGS) $(OPTFLAGS) $(CFLAGS) -c $<
-all: libvarexp.a
+all: libvarexp.a var.3
libvarexp.a: $(OBJS)
@rm -f $@
@@ -26,8 +27,11 @@
var_test: var_test.o libvarexp.a
$(CC) $(LDFLAGS) -o $@ var_test.o libvarexp.a
+var.3: var.pod
+ $(POD2MAN) var.pod >$@
+
clean::
- rm -f $(OBJS) libvarexp.a var_test.o var_test
+ rm -f $(OBJS) libvarexp.a var_test.o var_test var.3
# Dependencies
|
|