| File: meta/lnx-bbc/Makefile | |
|---|---|
| patch-11 | patch-12 |
| Line 1 | Line 1 |
| GARNAME = lnx-bbc | GARNAME = lnx-bbc |
| ISONAME= $(shell tla parse-package-name --package-version $(shell tla tree-version))--$(patchlevel) | |
| GARVERSION := $(shell date --iso-8601=seconds) #GARVERSION := 2.0 DISTNAME := $(GARNAME)-$(shell date --iso-8601) | GARVERSION := $(shell date --iso-8601=seconds) #GARVERSION := 2.0 DISTNAME := $(GARNAME)-$(shell date --iso-8601) |
| Line 59 | Line 60 |
| include ../../gar.mk pre-everything: | include ../../gar.mk pre-everything: |
| @echo "Building BBC image bbc-$(GARVERSION).iso." | @echo "Building BBC image $(ISONAME)--$(GARVERSION).iso." |
| MEDIA = cdrom | MEDIA = cdrom |
| Line 87 | Line 88 |
| install $(DESTDIR)$(bindir)/putty.exe $(DESTDIR)$(bindir)/pscp.exe $(WORKDIR)/$(MEDIA)/putty install $(DESTDIR)$(bindir)/docopen.exe $(WORKDIR)/$(MEDIA) install -m 644 $(DOWNLOADDIR)/autorun.inf $(DOWNLOADDIR)/lnxbbc.htm $(DOWNLOADDIR)/bbc.css $(DOWNLOADDIR)/logo.png $(WORKDIR)/$(MEDIA) | install $(DESTDIR)$(bindir)/putty.exe $(DESTDIR)$(bindir)/pscp.exe $(WORKDIR)/$(MEDIA)/putty install $(DESTDIR)$(bindir)/docopen.exe $(WORKDIR)/$(MEDIA) install -m 644 $(DOWNLOADDIR)/autorun.inf $(DOWNLOADDIR)/lnxbbc.htm $(DOWNLOADDIR)/bbc.css $(DOWNLOADDIR)/logo.png $(WORKDIR)/$(MEDIA) |
| mkisofs -v -d -N -D -R -T -c boot.catalog -b lnx.img -A "Linux" -V "LNX-BBC" -P "version_$(GARVERSION)" -o $(WORKDIR)/bbc-STABLE-$(GARVERSION).iso $(WORKDIR)/$(MEDIA) | mkisofs -v -d -N -D -R -T -c boot.catalog -b lnx.img -A "Linux" -V "LNX-BBC" -P "version_$(GARVERSION)" -o $(WORKDIR)/$(ISONAME)--$(GARVERSION).iso $(WORKDIR)/$(MEDIA) |
| # hack MD5 hash of resulting image to begin with "bbcbbc" # (when built with make_matching=1, hash_search will output the # unmodified original file if it is unable to find a match) | # hack MD5 hash of resulting image to begin with "bbcbbc" # (when built with make_matching=1, hash_search will output the # unmodified original file if it is unable to find a match) |