summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorStefan Eßer <se@FreeBSD.org>2020-11-27 09:00:21 +0000
committerStefan Eßer <se@FreeBSD.org>2020-11-27 09:00:21 +0000
commit76810a95649e8f4bcad8b97f718d6421ae8c08df (patch)
tree4e962547cfb8a67ca98aee95fff0797a0f763a6c /usr.bin
parent866db2fef07ccd7facf0c7ac1bb6b05a6451e300 (diff)
downloadsrc-test-76810a95649e8f4bcad8b97f718d6421ae8c08df.tar.gz
src-test-76810a95649e8f4bcad8b97f718d6421ae8c08df.zip
Make generated C files depend on this Makefile
The contents of lib.c, lib2.c, bc_help.c, and dc_help.c depends on the parameters passed to strgen.sh in this Makefile. A change to the number of parameters of strgen.sh has been applied to the invocation of this command, but this did not cause a rebuild of the generated files. Reported by: Cy.Schubert@cschubert.com
Notes
Notes: svn path=/head/; revision=368097
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/gh-bc/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/gh-bc/Makefile b/usr.bin/gh-bc/Makefile
index 54793636b56a0..79526628cf611 100644
--- a/usr.bin/gh-bc/Makefile
+++ b/usr.bin/gh-bc/Makefile
@@ -95,16 +95,16 @@ NLSLINKS_pt_PT.ISO8859-1+= pt_BR.ISO8859-1
NLSLINKS_pt_PT.ISO8859-1+= pt_PT.ISO8859-15
.endif
-lib.c: lib.bc
+lib.c: lib.bc Makefile
cd ${BCDIR} && sh gen/strgen.sh gen/lib.bc ${.OBJDIR}/lib.c bc_lib bc_lib_name 1 1
-lib2.c: lib2.bc
+lib2.c: lib2.bc Makefile
cd ${BCDIR} && sh gen/strgen.sh gen/lib2.bc ${.OBJDIR}/lib2.c bc_lib2 bc_lib2_name 1 1
-bc_help.c: bc_help.txt
+bc_help.c: bc_help.txt Makefile
cd ${BCDIR} && sh gen/strgen.sh gen/bc_help.txt ${.OBJDIR}/bc_help.c bc_help
-dc_help.c: dc_help.txt
+dc_help.c: dc_help.txt Makefile
cd ${BCDIR} && sh gen/strgen.sh gen/dc_help.txt ${.OBJDIR}/dc_help.c dc_help
bc.1: