X-Git-Url: https://secure.softndesign.org/git/?a=blobdiff_plain;f=Makefile;h=60d27476381a86d34dc044e408779e8a8d5e1d34;hb=aa1a77f38ec5c946f83373ed76759cbc70cf17b5;hp=907021cc9cbb81fd1d7fa4b4406e5eedc8eda333;hpb=d50ae5a71b3608a2a025e34846b59a6861b383e2;p=debian6500.git diff --git a/Makefile b/Makefile index 907021c..60d2747 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ SHELL=/bin/bash MASTERFILE = trc6500-master-file -VERSION = $(shell awk '/^$(MASTERFILE)/ {gsub(/[()]/, ""); print $$2; exit}' $(MASTERFILE)/debian/debian-changelog) +VERSION = $(shell awk '/^$(MASTERFILE)/ {gsub(/[()]/, ""); print $$2; exit}' $(MASTERFILE)/changelog) ISOVER = $(shell echo $(VERSION) | sed 's/-.*$$//') @@ -25,9 +25,12 @@ $(ISO): $(TARGET_DEB) masterfile: $(TARGET_DEB) $(TARGET_DEB): + echo $(ISOVER) > master/etc/trc6500_os_version make -C $(MASTERFILE) clean: rm -f $(TARGET_DEB) $(TARGET_ISO) +version: + echo $(VERSION) $(ISOVER) .PHONY: $(TARGET_DEB)