makefile.mk (7871dc3e) | makefile.mk (61aaf8b6) |
---|---|
1#************************************************************** 2# 3# Licensed to the Apache Software Foundation (ASF) under one 4# or more contributor license agreements. See the NOTICE file 5# distributed with this work for additional information 6# regarding copyright ownership. The ASF licenses this file 7# to you under the Apache License, Version 2.0 (the 8# "License"); you may not use this file except in compliance --- 52 unchanged lines hidden (view full) --- 61 $(PERL) $(SOLARENV)$/bin$/packimages.pl -g $(SOLARSRC)$/$(RSCDEFIMG) -m $(SOLARSRC)$/$(RSCDEFIMG) -c $(RSCCUSTOMIMG) -c $(SOLARSRC)$/ooo_custom_images$/$(@:s/images_//) -c $(MISC)$/$(@:s/images_//) $(CUSTOM_PREFERRED_FALLBACK_1) $(CUSTOM_PREFERRED_FALLBACK_2) -l $(SOLARCOMMONRESDIR)$/img -l $(RES)$/img -s $(SORTED_LIST) -o $(COMMONBIN)$/$@.zip 62 63# make sure to have one to keep packing happy 64$(COMMONBIN)$/images_brand.zip: 65 @$(TOUCH) $@ 66 67# generate the HiContrast icon set 68$(MISC)$/hicontrast.flag .PHONY : | 1#************************************************************** 2# 3# Licensed to the Apache Software Foundation (ASF) under one 4# or more contributor license agreements. See the NOTICE file 5# distributed with this work for additional information 6# regarding copyright ownership. The ASF licenses this file 7# to you under the Apache License, Version 2.0 (the 8# "License"); you may not use this file except in compliance --- 52 unchanged lines hidden (view full) --- 61 $(PERL) $(SOLARENV)$/bin$/packimages.pl -g $(SOLARSRC)$/$(RSCDEFIMG) -m $(SOLARSRC)$/$(RSCDEFIMG) -c $(RSCCUSTOMIMG) -c $(SOLARSRC)$/ooo_custom_images$/$(@:s/images_//) -c $(MISC)$/$(@:s/images_//) $(CUSTOM_PREFERRED_FALLBACK_1) $(CUSTOM_PREFERRED_FALLBACK_2) -l $(SOLARCOMMONRESDIR)$/img -l $(RES)$/img -s $(SORTED_LIST) -o $(COMMONBIN)$/$@.zip 62 63# make sure to have one to keep packing happy 64$(COMMONBIN)$/images_brand.zip: 65 @$(TOUCH) $@ 66 67# generate the HiContrast icon set 68$(MISC)$/hicontrast.flag .PHONY : |
69.IF "$(GUI)"=="OS2" 70 touch $(MISC)$/hicontrast.flag 71.ELSE |
|
69 $(PERL) $(SOLARENV)$/bin$/hicontrast-to-theme.pl $(SOLARSRC)$/default_images $(MISC)$/hicontrast && $(TOUCH) $@ | 72 $(PERL) $(SOLARENV)$/bin$/hicontrast-to-theme.pl $(SOLARSRC)$/default_images $(MISC)$/hicontrast && $(TOUCH) $@ |
73.ENDIF |
|
70 71# unpack the classic icon set 72$(MISC)$/classic.flag : $(CLASSIC_TARBALL) | 74 75# unpack the classic icon set 76$(MISC)$/classic.flag : $(CLASSIC_TARBALL) |
77.IF "$(GUI)"=="OS2" 78 cd $(MISC) && tar zxf $(CLASSIC_TARBALL) && $(TOUCH) $(@:f) 79.ELSE |
|
73 cd $(MISC) && gunzip -c $(CLASSIC_TARBALL) | ( tar -xf - ) && $(TOUCH) $(@:f) | 80 cd $(MISC) && gunzip -c $(CLASSIC_TARBALL) | ( tar -xf - ) && $(TOUCH) $(@:f) |
81.ENDIF |
|
74.IF "$(GUI)"=="UNX" 75 chmod -R g+w $(MISC)$/classic 76.ENDIF 77 @$(TYPE) $@ || echo "ERROR: unpacking $(CLASSIC_TARBALL) failed" 78 79# dependencies 80images_hicontrast : $(MISC)$/hicontrast.flag $(RES)$/img$/commandimagelist.ilst 81 82images_crystal : $(MISC)$/crystal.flag $(RES)$/img$/commandimagelist.ilst 83 84images_classic : $(MISC)$/classic.flag $(RES)$/img$/commandimagelist.ilst 85 | 82.IF "$(GUI)"=="UNX" 83 chmod -R g+w $(MISC)$/classic 84.ENDIF 85 @$(TYPE) $@ || echo "ERROR: unpacking $(CLASSIC_TARBALL) failed" 86 87# dependencies 88images_hicontrast : $(MISC)$/hicontrast.flag $(RES)$/img$/commandimagelist.ilst 89 90images_crystal : $(MISC)$/crystal.flag $(RES)$/img$/commandimagelist.ilst 91 92images_classic : $(MISC)$/classic.flag $(RES)$/img$/commandimagelist.ilst 93 |