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
parent
509b091c47
commit
a33a4f00e5
|
@ -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 \
|
||||||
|
|
Loading…
Reference in New Issue