Explorar el Código

Changed installation mechanism for docs

ceriel hace 31 años
padre
commit
404d067606
Se han modificado 3 ficheros con 20 adiciones y 14 borrados
  1. 1 13
      doc/int/Makefile
  2. 18 0
      doc/int/proto.make
  3. 1 1
      doc/occam/.distr

+ 1 - 13
doc/int/Makefile

@@ -1,22 +1,10 @@
 # $Header$
 
-TBL=tbl
-
 DOC =		draw.mac cover txt1 txt2 txt3 appA appB bib
 
-../int.doc:	int.doc
-		mv int.doc ..
-
-int.doc:	$(DOC)
-		$(TBL) $(DOC) > $@
-
-FLS =		README Makefile $(DOC)
+FLS =		README proto.make Makefile $(DOC)
 
 .distr:		Makefile
 		echo $(FLS) | tr ' ' '\012' >.distr
 
 distr:	.distr
-
-clean:
-		rm -f int.doc
-

+ 18 - 0
doc/int/proto.make

@@ -0,0 +1,18 @@
+# $Header$
+
+#PARAMS         do not remove this line!
+
+SRC_DIR = $(SRC_HOME)/doc/int
+TBL=tbl
+
+DOC =		$(SRC_DIR)/draw.mac \
+		$(SRC_DIR)/cover \
+		$(SRC_DIR)/txt1 \
+		$(SRC_DIR)/txt2 \
+		$(SRC_DIR)/txt3 \
+		$(SRC_DIR)/appA \
+		$(SRC_DIR)/appB \
+		$(SRC_DIR)/bib
+
+$(TARGET_HOME)/doc/int.doc:	$(DOC)
+		$(TBL) $(DOC) > $@

+ 1 - 1
doc/occam/.distr

@@ -1,4 +1,4 @@
-Makefile
+proto.make
 ctot
 p0
 p1