Makefile: build/include/sysexits.h depends on include/sysexits.h.template

This commit is contained in:
dtb 2024-06-28 08:09:02 -06:00
parent 06d7d331cf
commit 17b5573d40
Signed by: trinity
GPG Key ID: 34C0543BBB6AF81B

View File

@ -61,7 +61,7 @@ docs: docs/ build
rustlibs: build/o/libsysexits.rlib build/o/libgetopt.rlib \
build/o/libstrerror.rlib
build/include/sysexits.h: build
build/include/sysexits.h: build include/sysexits.h.template
cpp -dM -include sysexits.h /dev/null \
| grep '^.define EX_' >$@ \
|| cpp -dM -include stdlib.h include/sysexits.h.template \