X-Git-Url: https://secure.softndesign.org/git/?a=blobdiff_plain;f=Makefile;h=87c5d90cff832f0dae9b45649629d91ab7eec9f7;hb=a299db21b201b76f169a7b2c89844a1a18bfef49;hp=907021cc9cbb81fd1d7fa4b4406e5eedc8eda333;hpb=d50ae5a71b3608a2a025e34846b59a6861b383e2;p=debian6500.git diff --git a/Makefile b/Makefile index 907021c..87c5d90 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/-.*$$//') @@ -20,6 +20,7 @@ $(TARGET_ISO): $(ISO) mv $< $@ $(ISO): $(TARGET_DEB) + echo $(ISOVER) > master/etc/trc6500_os_version cd simple-cdd && build-simple-cdd --dist wheezy --conf ./simple-cdd.conf masterfile: $(TARGET_DEB)