diff options
author | EuAndreh <eu@euandre.org> | 2021-09-01 10:10:01 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2021-09-01 10:10:04 -0300 |
commit | 201b2deb118300ab12e0c9ed3430225e13280bca (patch) | |
tree | da07d910fdeb85dda01233b5beddba391f39fa17 | |
parent | src/remembering.in: Add empty line on help text (diff) | |
download | remembering-201b2deb118300ab12e0c9ed3430225e13280bca.tar.gz remembering-201b2deb118300ab12e0c9ed3430225e13280bca.tar.xz |
Makefile: Use chmod when generating src/remembering instead of afterwards
Now running "make" for the second time will say everything is
up-to-date, instead of always changing the permission again and again.
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -12,6 +12,7 @@ TRANSLATIONS = pt fr eo .in: sed -e 's:@VERSION@:$(VERSION):g' -e 's:@DATE@:$(DATE):g' < $< > $@ + if [ -x $< ]; then chmod +x $@; fi .c: $(CC) $(CFLAGS) $(LDFLAGS) $(DEFS) -o $@ $< $(LDLIBS) @@ -31,7 +32,6 @@ manpages.in = $(manpages.en.in) \ manpages = $(manpages.in:.in=) all: src/remembering src/remembering-c $(manpages) - chmod +x src/remembering run-tests: src/remembering-c.c $(CC) $(CFLAGS) $(LDFLAGS) $(DEFS) -DTEST -o $@ $? $(LDLIBS) |