[hackers] [scc] [cc2] Fix Makefile || Roberto E. Vargas Caballero
commit 169482fbf00dd02608f6fa20c928bdf12a56363d
Author: Roberto E. Vargas Caballero <roberto.vargas_AT_igrid-td.com>
AuthorDate: Thu Apr 7 08:41:54 2016 +0200
Commit: Roberto E. Vargas Caballero <roberto.vargas_AT_igrid-td.com>
CommitDate: Thu Apr 7 08:41:54 2016 +0200
[cc2] Fix Makefile
Trap affects only to the current shell, so if the semicolon
was lost then the trap was not affecting to the full rule.
diff --git a/cc2/Makefile b/cc2/Makefile
index 79666d0..9ac6879 100644
--- a/cc2/Makefile
+++ b/cc2/Makefile
_AT_@ -12,7 +12,7 @@ $(OBJS): cc2.h
main.o: error.h
error.h: cc2.h
- rm -f $_AT_; trap 'rm -f $$$$.h' EXIT INT QUIT
+ rm -f $_AT_; trap 'rm -f $$$$.h' EXIT INT QUIT ;\
awk -f generror cc2.h > $$$$.h && mv $$$$.h $_AT_
cc2: $(OBJS) ../lib/libcc.a
Received on Thu Apr 07 2016 - 16:22:13 CEST
This archive was generated by hypermail 2.3.0
: Thu Apr 07 2016 - 16:24:15 CEST