2000-10-27 10:54:07 -05:00
|
|
|
PRJ=.
|
2005-01-21 02:47:59 -06:00
|
|
|
PRJNAME=readlicense_oo
|
2000-10-27 10:54:07 -05:00
|
|
|
TARGET=source
|
|
|
|
|
|
|
|
# ------------------------------------------------------------------
|
|
|
|
.INCLUDE: settings.mk
|
|
|
|
# ------------------------------------------------------------------
|
|
|
|
|
|
|
|
# ------------------------------------------------------------------
|
|
|
|
.INCLUDE: target.mk
|
|
|
|
# ------------------------------------------------------------------
|
|
|
|
|
2010-12-09 05:49:52 -06:00
|
|
|
ALLTAR: $(MISC)/$/license.txt $(MISC)/$/LICENSE \
|
2010-12-08 14:48:37 -06:00
|
|
|
$(MISC)$/LICENSE.odt $(MISC)$/CREDITS.odt \
|
|
|
|
$(MISC)$/THIRDPARTYLICENSEREADME.html
|
2005-01-21 02:47:59 -06:00
|
|
|
|
|
|
|
.IF "$(fallbacklicenses)"!=""
|
2009-01-20 04:06:44 -06:00
|
|
|
$(fallbacklicenses) : $(SOURCELICENCES)
|
2007-01-25 05:20:08 -06:00
|
|
|
@$(ECHON) .
|
|
|
|
@$(COPY) $(@:d)$(@:b:s/_/./:b)_$(defaultlangiso)$(@:e) $@
|
2005-01-21 02:47:59 -06:00
|
|
|
.ENDIF # "$(fallbacklicenses)"!=""
|
|
|
|
|
|
|
|
just_for_nice_optics: $(fallbacklicenses)
|
2007-01-25 05:20:08 -06:00
|
|
|
@$(ECHONL)
|
2005-01-21 02:47:59 -06:00
|
|
|
|
2009-01-20 04:06:44 -06:00
|
|
|
# for windows, convert linends to DOS
|
2010-12-09 05:49:52 -06:00
|
|
|
$(MISC)$/license.txt : txt$/license.txt
|
2009-01-20 04:06:44 -06:00
|
|
|
$(PERL) -p -e 's/\r?\n$$/\r\n/' < $< > $@
|
|
|
|
# for others just copy
|
2010-12-09 05:49:52 -06:00
|
|
|
$(MISC)$/LICENSE : txt$/license.txt
|
2009-01-20 04:06:44 -06:00
|
|
|
$(COPY) $< $@
|
2010-12-09 05:49:52 -06:00
|
|
|
|
|
|
|
$(MISC)$/SYSLICDEST)$/LICENSE.odt : odt$/LICENSE.odt
|
2009-01-20 04:06:44 -06:00
|
|
|
$(COPY) $< $@
|
2010-09-24 06:33:29 -05:00
|
|
|
|
2010-12-08 12:49:38 -06:00
|
|
|
# just copy into misc
|
2010-12-08 14:48:37 -06:00
|
|
|
$(MISC)$/LICENSE.odt: odt/LICENSE.odt
|
|
|
|
$(COPY) odt/LICENSE.odt $@
|
|
|
|
$(MISC)$/CREDITS.odt: odt/CREDITS.odt
|
|
|
|
$(COPY) odt/CREDITS.odt $@
|
|
|
|
$(MISC)$/THIRDPARTYLICENSEREADME.html: html/THIRDPARTYLICENSEREADME.html
|
|
|
|
$(COPY) html/THIRDPARTYLICENSEREADME.html $@
|