diff options
author | John-Mark Bell <jmb@netsurf-browser.org> | 2021-08-04 01:56:28 +0100 |
---|---|---|
committer | John-Mark Bell <jmb@netsurf-browser.org> | 2021-08-04 01:56:28 +0100 |
commit | a241097b9d3ac87bde3710d65362f41059c31810 (patch) | |
tree | cd214e669c57be6ba52500cf2709a8a32db83be6 | |
parent | 4267c6512ebd49413984f1b79b8f6d46e34181f9 (diff) | |
download | ttf2f-a241097b9d3ac87bde3710d65362f41059c31810.tar.gz ttf2f-a241097b9d3ac87bde3710d65362f41059c31810.tar.bz2 |
Inject copyright dates into help file
-rw-r--r-- | Makefile | 11 | ||||
-rw-r--r-- | riscos/Help (renamed from !TTF2f/!Help) | 2 |
2 files changed, 10 insertions, 3 deletions
@@ -65,11 +65,12 @@ $(realoutput): $(OUTPUT) DISTCLEAN_ITEMS := $(DISTCLEAN_ITEMS) ttf2f.zip .PHONY: riscos-dist -riscos-dist: $(realoutput) $(BUILDDIR)/Res,fae +riscos-dist: $(realoutput) $(BUILDDIR)/Res,fae $(BUILDDIR)/!Help $(Q)$(CP) $(CPFLAGS) $(realoutput) !TTF2f/!RunImage,ff8 $(Q)$(CP) $(CPFLAGS) $(BUILDDIR)/Res,fae !TTF2f/Res,fae + $(Q)$(CP) $(CPFLAGS) $(BUILDDIR)/!Help !TTF2f/!Help $(Q)$(dir $(CC))zip -9r, ttf2f.zip !TTF2f - $(Q)$(RM) $(RMFLAGS) !TTF2f/!RunImage,ff8 !TTF2f/Res,fae + $(Q)$(RM) $(RMFLAGS) !TTF2f/!RunImage,ff8 !TTF2f/Res,fae !TTF2f/!Help __empty := __space := $(empty) $(empty) @@ -81,6 +82,12 @@ $(BUILDDIR)/Res,fae: riscos/Res -e 's/__VERSION__/$(word 1,$(subst ., ,$(COMPONENT_VERSION))).$(subst $(__space),,$(wordlist 2,$(words $(subst ., ,$(COMPONENT_VERSION))),$(subst ., ,$(COMPONENT_VERSION))))/' \ $^ >$(BUILDDIR)/Res.txt $(Q)$(dir $(CC))ccres $(BUILDDIR)/Res.txt $@ + +$(BUILDDIR)/!Help: riscos/Help + $(Q)echo " SED: $@" + $(Q)$(SED) \ + -e 's/__COPYRIGHT_END__/$(word $(words $(COMPONENT_DATE)),$(COMPONENT_DATE))/' \ + $^ >$@ endif all: $(PRE_TARGETS) $(OUTPUT) $(POST_TARGETS) diff --git a/!TTF2f/!Help b/riscos/Help index 974a6fc..3357c6e 100644 --- a/!TTF2f/!Help +++ b/riscos/Help @@ -79,7 +79,7 @@ Contents 5. Licence ========== - Copyright (c) 2004-11, J-M Bell <jmb@netsurf-browser.org>. + Copyright (c) 2004-__COPYRIGHT_END__, J-M Bell <jmb@netsurf-browser.org>. All rights reserved. Redistribution and use in source and binary forms, with or without |