From: ceriel Date: Fri, 13 Sep 1991 12:36:13 +0000 (+0000) Subject: Fixed proto.make X-Git-Tag: release-5-5~892 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=767c52b2413a1c5c8874e9c0e9e7059e7d3a0c40;p=ack.git Fixed proto.make --- diff --git a/lang/cem/cpp.ansi/proto.make b/lang/cem/cpp.ansi/proto.make index f22482689..7c8b1f812 100644 --- a/lang/cem/cpp.ansi/proto.make +++ b/lang/cem/cpp.ansi/proto.make @@ -83,7 +83,7 @@ pr: lint: make.main make -f make.main lint -Cfiles: hfiles LLfiles $(GEN_C) $(GEN_H) +Cfiles: hfiles LLfiles $(GEN_C) $(GEN_H) Makefile echo $(CFILES) | tr ' ' '\012' > Cfiles echo $(HFILES) | tr ' ' '\012' >> Cfiles diff --git a/lang/cem/libcc.ansi/proto.make b/lang/cem/libcc.ansi/proto.make index 2c6730269..fa726e544 100644 --- a/lang/cem/libcc.ansi/proto.make +++ b/lang/cem/libcc.ansi/proto.make @@ -2,9 +2,12 @@ #PARAMS do not remove this line! +SRC_DIR = $(SRC_HOME)/lang/cem/libcc.ansi + all: install: + -mkdir $(TARGET_HOME)/include -mkdir $(TARGET_HOME)/include/tail_ac - ( cd headers; tar cf - `cat LIST` ) | ( cd $(TARGET_HOME)/include/tail_ac ; tar xf - ) + ( cd $(SRC_DIR)/headers; tar cf - `cat LIST` ) | ( cd $(TARGET_HOME)/include/tail_ac ; tar xf - ) diff --git a/lang/m2/comp/proto.make b/lang/m2/comp/proto.make index 47b2d9447..1012edbcb 100644 --- a/lang/m2/comp/proto.make +++ b/lang/m2/comp/proto.make @@ -73,7 +73,7 @@ pr: lint: make.main make -f make.main lint -Cfiles: hfiles LLfiles $(GEN_C) $(GEN_H) +Cfiles: hfiles LLfiles $(GEN_C) $(GEN_H) Makefile echo $(CFILES) | tr ' ' '\012' > Cfiles echo $(HFILES) | tr ' ' '\012' >> Cfiles diff --git a/lang/m2/libm2/proto.make b/lang/m2/libm2/proto.make index 50a04d301..0ce3304c0 100644 --- a/lang/m2/libm2/proto.make +++ b/lang/m2/libm2/proto.make @@ -18,10 +18,12 @@ clean: cmp: pr: - @pr Makefile $(SOURCES) + @pr $(SRC_DIR)/proto.make + for i in $(SOURCES) ; do pr $(SRC_DIR)/$$i ; done + opr: make pr | opr install: -mkdir $(DEFDIR) - for i in $(SOURCES) ; do cp $$i $(DEFDIR)/$$i ; done + for i in $(SOURCES) ; do cp $(SRC_DIR)/$$i $(DEFDIR)/$$i ; done