Browse Source

Replaced Makefile by proto.make

ceriel 32 years ago
parent
commit
4affc39a20
2 changed files with 26 additions and 1 deletions
  1. 1 1
      man/.distr
  2. 25 0
      man/proto.make

+ 1 - 1
man/.distr

@@ -17,4 +17,4 @@ libpc.7
 head
 pc_prlib.7
 uni_ass.6
-Makefile
+proto.make

+ 25 - 0
man/proto.make

@@ -0,0 +1,25 @@
+# $Header$
+
+#PARAMS		do not remove this line!
+
+MANDIR = $(TARGET_HOME)/man
+
+all:
+
+install:
+	if [ $(DO_MACHINE_INDEP) = y ] ; \
+	then	if [ ! -d $(MANDIR) ] ; then mkdir $(MANDIR) ; fi ; \
+		cd $(SRC_HOME)/man ; \
+		for i in *.[1-8] ; do \
+			num=`expr $$i : '.*\.\([1-8]\)'` ; \
+			if [ ! -d $(MANDIR)/man$$num ] ; \
+			then	mkdir $(MANDIR)/man$$num ; \
+			fi ; \
+			cat head $$i > $(MANDIR)/man$$num/$$i ; \
+		done ; \
+	fi
+
+cmp:
+opr:
+pr:
+clean: