build: don't use a dummy dependency, as it breaks non-GNU makes

This fixes https://savannah.gnu.org/bugs/?50956.
Reported-by: John Wiersba <jrw32982@yahoo.com>
master
Benno Schulenberg 2017-05-08 11:25:43 +02:00
parent 509b091c47
commit a33a4f00e5
1 changed files with 1 additions and 3 deletions

View File

@ -12,13 +12,11 @@ endif
nano.o: revision.h nano.o: revision.h
winio.o: revision.h winio.o: revision.h
revision.h: update_revision revision.h:
@[ -f $@ ] || touch $@ @[ -f $@ ] || touch $@
@echo "#define $(SOMETHING)" | cmp -s $@ - || \ @echo "#define $(SOMETHING)" | cmp -s $@ - || \
echo "#define $(SOMETHING)" > $@ echo "#define $(SOMETHING)" > $@
.PHONY: update_revision
bin_PROGRAMS = nano bin_PROGRAMS = nano
nano_SOURCES = browser.c \ nano_SOURCES = browser.c \
chars.c \ chars.c \