diff options
-rw-r--r-- | GNUmakefile | 2 | ||||
-rw-r--r-- | common.mk | 2 | ||||
-rw-r--r-- | version.mk (renamed from Makefile.version) | 0 |
3 files changed, 2 insertions, 2 deletions
diff --git a/GNUmakefile b/GNUmakefile index f47f1ad0..a7f570b7 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -158,7 +158,7 @@ endif MAJOR := $(NETPBM_MAJOR_RELEASE) MINOR := $(NETPBM_MINOR_RELEASE) POINT := $(NETPBM_POINT_RELEASE) -version.h: $(SRCDIR)/Makefile.version +version.h: $(SRCDIR)/version.mk @rm -f $@ @echo "/* Generated by make file rule */" >>$@ @echo "#define NETPBM_VERSION" \ diff --git a/common.mk b/common.mk index 7f2f8fca..3394a6de 100644 --- a/common.mk +++ b/common.mk @@ -68,7 +68,7 @@ # for options that are particular to the person doing the build and not # specific to Netpbm. -include $(SRCDIR)/Makefile.version +include $(SRCDIR)/version.mk # .DELETE_ON_ERROR is a special predefined Make target that says to delete # the target if a command in the rule for it fails. That's important, diff --git a/Makefile.version b/version.mk index 14a4b0c4..14a4b0c4 100644 --- a/Makefile.version +++ b/version.mk |