blob: ee1facd61df4717e893e7e64892165e091ba23e4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
PRJ=.
PRJNAME=readlicense_oo
TARGET=source
# ------------------------------------------------------------------
.INCLUDE: settings.mk
# ------------------------------------------------------------------
# ------------------------------------------------------------------
.INCLUDE: target.mk
# ------------------------------------------------------------------
ALLTAR: $(MISC)/$/license.txt $(MISC)/$/LICENSE \
$(MISC)$/LICENSE.odt $(MISC)$/CREDITS.odt \
$(MISC)$/THIRDPARTYLICENSEREADME.html
.IF "$(fallbacklicenses)"!=""
$(fallbacklicenses) : $(SOURCELICENCES)
@$(ECHON) .
@$(COPY) $(@:d)$(@:b:s/_/./:b)_$(defaultlangiso)$(@:e) $@
.ENDIF # "$(fallbacklicenses)"!=""
just_for_nice_optics: $(fallbacklicenses)
@$(ECHONL)
# for windows, convert linends to DOS
$(MISC)$/license.txt : txt$/license.txt
$(PERL) -p -e 's/\r?\n$$/\r\n/' < $< > $@
# for others just copy
$(MISC)$/LICENSE : txt$/license.txt
$(COPY) $< $@
$(MISC)$/SYSLICDEST)$/LICENSE.odt : odt$/LICENSE.odt
$(COPY) $< $@
# just copy into misc
$(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 $@
|