[Libreoffice-commits] .: Branch 'feature/winshrink' - readlicense_oo/makefile.mk readlicense_oo/prj

Michael Meeks mmeeks at kemper.freedesktop.org
Thu Dec 9 03:51:44 PST 2010


 readlicense_oo/makefile.mk |   25 +++++--------------------
 readlicense_oo/prj/d.lst   |   12 ++++++------
 2 files changed, 11 insertions(+), 26 deletions(-)

New commits:
commit 2f62b8b1dee1437cd8c970b52330d78035f5aa65
Author: Michael Meeks <michael.meeks at novell.com>
Date:   Thu Dec 9 11:49:52 2010 +0000

    further simplification of license build / installation

diff --git a/readlicense_oo/makefile.mk b/readlicense_oo/makefile.mk
index 0b41cff..ee1facd 100755
--- a/readlicense_oo/makefile.mk
+++ b/readlicense_oo/makefile.mk
@@ -6,23 +6,11 @@ TARGET=source
 .INCLUDE: settings.mk
 # ------------------------------------------------------------------
 
-.IF "$(GUI)"=="WNT"
-SYSLICBASE=license.txt LICENSE.odt
-SYSLICDEST=$(MISC)$/license$/wnt
-.ELSE          # "$(GUI)"=="WNT"
-SYSLICBASE=LICENSE LICENSE.odt
-SYSLICDEST=$(MISC)$/license$/unx
-.ENDIF          # "$(GUI)"=="WNT"
-
-SOURCELICENCES=$(foreach,i,$(SYSLICBASE) $(SYSLICDEST)$/$(i:b)$(i:e))
-
-fallbacklicenses=$(foreach,i,{$(subst,$(defaultlangiso), $(alllangiso))} $(foreach,j,$(SYSLICBASE) $(SYSLICDEST)$/$(j:b)_$i$(j:e)))
-
 # ------------------------------------------------------------------
 .INCLUDE: target.mk
 # ------------------------------------------------------------------
 
-ALLTAR: $(SOURCELICENCES) $(fallbacklicenses) just_for_nice_optics \
+ALLTAR: $(MISC)/$/license.txt $(MISC)/$/LICENSE \
         $(MISC)$/LICENSE.odt $(MISC)$/CREDITS.odt \
         $(MISC)$/THIRDPARTYLICENSEREADME.html
 
@@ -36,16 +24,13 @@ just_for_nice_optics: $(fallbacklicenses)
     @$(ECHONL)
 
 # for windows, convert linends to DOS
-$(SYSLICDEST)$/license.% : txt$/license.%
-    @-$(MKDIRHIER) $(SYSLICDEST)
+$(MISC)$/license.txt : txt$/license.txt
     $(PERL) -p -e 's/\r?\n$$/\r\n/' < $< > $@
-
 # for others just copy
-$(SYSLICDEST)$/LICENSE : txt$/license.txt
-    @-$(MKDIRHIER) $(SYSLICDEST)
+$(MISC)$/LICENSE : txt$/license.txt
     $(COPY) $< $@
-$(SYSLICDEST)$/LICENSE.odt : odt$/LICENSE.odt
-    @-$(MKDIRHIER) $(SYSLICDEST)
+
+$(MISC)$/SYSLICDEST)$/LICENSE.odt : odt$/LICENSE.odt
     $(COPY) $< $@
 
 # just copy into misc
diff --git a/readlicense_oo/prj/d.lst b/readlicense_oo/prj/d.lst
index deb1c94..1739f6f 100644
--- a/readlicense_oo/prj/d.lst
+++ b/readlicense_oo/prj/d.lst
@@ -4,17 +4,17 @@ mkdir: %_DEST%\pck%_EXT%
 dos: echo =====================================================================
 dos: echo Delivering LICENSE files
 dos: echo =====================================================================
-..\%__SRC%\misc\license\unx\LICENSE* %_DEST%\bin%_EXT%\osl
-..\%__SRC%\misc\license\unx\LICENSE*.odt %_DEST%\bin%_EXT%\osl
-..\%__SRC%\misc\license\wnt\LICENSE*.odt %_DEST%\bin%_EXT%\osl
-..\%__SRC%\misc\license\wnt\license*.txt %_DEST%\bin%_EXT%\osl
+..\%__SRC%\misc\LICENSE     %_DEST%\bin%_EXT%\osl
+..\%__SRC%\misc\license.txt %_DEST%\bin%_EXT%\osl
+..\%__SRC%\misc\LICENSE.odt %_DEST%\bin%_EXT%\osl
+
 ..\%__SRC%\misc\LICENSE.odt %_DEST%\bin%_EXT%\LICENSE.odt
 ..\%__SRC%\misc\CREDITS.odt %_DEST%\bin%_EXT%\CREDITS.odt
 
 # URE:
 mkdir: %_DEST%\bin%_EXT%\ure
-..\%__SRC%\misc\license\unx\LICENSE %_DEST%\bin%_EXT%\ure\LICENSE
-..\%__SRC%\misc\license\wnt\license.txt %_DEST%\bin%_EXT%\ure\license.txt
+..\%__SRC%\misc\LICENSE %_DEST%\bin%_EXT%\ure\LICENSE
+..\%__SRC%\misc\license.txt %_DEST%\bin%_EXT%\ure\license.txt
 
 ..\%__SRC%\misc\THIRDPARTYLICENSEREADME.html %_DEST%\bin%_EXT%\THIRDPARTYLICENSEREADME.html
 


More information about the Libreoffice-commits mailing list