Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
e555705b
Kaydet (Commit)
e555705b
authored
May 23, 2013
tarafından
Matúš Kukan
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
gbuild: kill gb_Zip_get_outdir_target
Change-Id: Ie1920be76f803b1dbfd7b94dcb7a834b88816c08
üst
85c6f801
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
20 deletions
+4
-20
TargetLocations.mk
solenv/gbuild/TargetLocations.mk
+0
-4
Zip.mk
solenv/gbuild/Zip.mk
+4
-16
No files found.
solenv/gbuild/TargetLocations.mk
Dosyayı görüntüle @
e555705b
...
@@ -46,9 +46,6 @@ gb_ResTarget_get_unittest_target = \
...
@@ -46,9 +46,6 @@ gb_ResTarget_get_unittest_target = \
$(OUTDIR)/unittest/install/program/resource/$(1).res
$(OUTDIR)/unittest/install/program/resource/$(1).res
gb_UnoApi_get_target = $(OUTDIR)/bin/$(1).rdb
gb_UnoApi_get_target = $(OUTDIR)/bin/$(1).rdb
gb_Jar_get_outdir_target = $(OUTDIR)/bin/$(1).jar
gb_Jar_get_outdir_target = $(OUTDIR)/bin/$(1).jar
gb_Zip_get_outdir_target = $(OUTDIR)/pck/$(1).zip
gb_Zip_get_outdir_target_for_build = $(OUTDIR_FOR_BUILD)/pck/$(1).zip
# outdir targets: $(1) is path
gb_Configuration_registry = $(OUTDIR)/xml/registry
gb_Configuration_registry = $(OUTDIR)/xml/registry
gb_XcsTarget_get_outdir_target = \
gb_XcsTarget_get_outdir_target = \
$(gb_Configuration_registry)/schema$(if $(1),/)$(1)
$(gb_Configuration_registry)/schema$(if $(1),/)$(1)
...
@@ -228,7 +225,6 @@ gb_XcuModuleTarget_get_target = $(WORKDIR)/XcuModuleTarget/$(1)
...
@@ -228,7 +225,6 @@ gb_XcuModuleTarget_get_target = $(WORKDIR)/XcuModuleTarget/$(1)
gb_XcuMergeTarget_get_target = $(WORKDIR)/XcuMergeTarget/$(1)
gb_XcuMergeTarget_get_target = $(WORKDIR)/XcuMergeTarget/$(1)
gb_XcuResTarget_get_target = $(WORKDIR)/XcuResTarget/$(1)
gb_XcuResTarget_get_target = $(WORKDIR)/XcuResTarget/$(1)
gb_Zip_get_target = $(WORKDIR)/Zip/$(1).zip
gb_Zip_get_target = $(WORKDIR)/Zip/$(1).zip
gb_Zip_get_final_target = $(WORKDIR)/Zip/$(1).done
gb_Library__get_final_target = $(WORKDIR)/Dummy/$(1)
gb_Library__get_final_target = $(WORKDIR)/Dummy/$(1)
...
...
solenv/gbuild/Zip.mk
Dosyayı görüntüle @
e555705b
...
@@ -27,11 +27,9 @@ gb_Zip_ZIPCOMMAND := zip $(if $(findstring s,$(MAKEFLAGS)),-q)
...
@@ -27,11 +27,9 @@ gb_Zip_ZIPCOMMAND := zip $(if $(findstring s,$(MAKEFLAGS)),-q)
$(call gb_Zip_get_clean_target,%) :
$(call gb_Zip_get_clean_target,%) :
$(call gb_Output_announce,$*,$(false),ZIP,3)
$(call gb_Output_announce,$*,$(false),ZIP,3)
$(call gb_Helper_abbreviate_dirs,\
$(call gb_Helper_abbreviate_dirs,\
rm -f $(call gb_Zip_get_target,$*) && \
rm -f $(call gb_Zip__get_preparation_target,$*) && \
rm -f $(call gb_Zip_get_final_target,$*) && \
$(if $(CLEAR_LOCATION),rm -rf $(gb_Package_Location_$*) &&) \
$(if $(CLEAR_LOCATION),rm -rf $(gb_Package_Location_$*) &&) \
rm -f $(call gb_Zip_get_outdir_target,$*))
rm -f $(call gb_Zip_get_target,$*) && \
rm -f $(call gb_Zip__get_preparation_target,$*))
# rule to create zip package in workdir
# rule to create zip package in workdir
# --filesync makes sure that all files in the zip package will be removed that no longer are in $(FILES)
# --filesync makes sure that all files in the zip package will be removed that no longer are in $(FILES)
...
@@ -44,12 +42,6 @@ $(call gb_Zip_get_target,%) :
...
@@ -44,12 +42,6 @@ $(call gb_Zip_get_target,%) :
cd $(LOCATION) && cat $${RESPONSEFILE} | tr "[:space:]" "\n" | $(gb_Zip_ZIPCOMMAND) -@rX --filesync --must-match $(call gb_Zip_get_target,$*) && \
cd $(LOCATION) && cat $${RESPONSEFILE} | tr "[:space:]" "\n" | $(gb_Zip_ZIPCOMMAND) -@rX --filesync --must-match $(call gb_Zip_get_target,$*) && \
rm -f $${RESPONSEFILE} )
rm -f $${RESPONSEFILE} )
# the final target is a touch target; we use it as registered targets should be in workdir, not in outdir
# the outdir target depends on the workdir target and is built by delivering the latter
# the workdir target is created by cd'ing to the target directory and adding/updating the files
$(call gb_Zip_get_final_target,%) : $(call gb_Zip_get_outdir_target,%)
touch $@
# the preparation target is here to ensure proper ordering of actions in cases
# the preparation target is here to ensure proper ordering of actions in cases
# when we want to, e.g., create a zip from files created by a custom target
# when we want to, e.g., create a zip from files created by a custom target
$(call gb_Zip__get_preparation_target,%) :
$(call gb_Zip__get_preparation_target,%) :
...
@@ -74,10 +66,6 @@ endef
...
@@ -74,10 +66,6 @@ endef
define gb_Zip_Zip_internal
define gb_Zip_Zip_internal
$(call gb_Zip_Zip_internal_nodeliver,$(1),$(2))
$(call gb_Zip_Zip_internal_nodeliver,$(1),$(2))
$(call gb_Deliver_add_deliverable,$(call gb_Zip_get_outdir_target,$(1)),$(call gb_Zip_get_target,$(1)),$(1))
$(call gb_Zip_get_outdir_target,$(1)) : $(call gb_Zip_get_target,$(1)) \
| $(dir $(call gb_Zip_get_outdir_target,$(1))).dir
endef
endef
# depend on makefile to enforce a rebuild if files are removed from the zip
# depend on makefile to enforce a rebuild if files are removed from the zip
...
@@ -85,8 +73,8 @@ define gb_Zip_Zip
...
@@ -85,8 +73,8 @@ define gb_Zip_Zip
$(call gb_Zip_Zip_internal,$(1),$(2))
$(call gb_Zip_Zip_internal,$(1),$(2))
$(call gb_Zip_get_target,$(1)) : $(gb_Module_CURRENTMAKEFILE)
$(call gb_Zip_get_target,$(1)) : $(gb_Module_CURRENTMAKEFILE)
$(eval $(call gb_Module_register_target,$(call gb_Zip_get_
final_
target,$(1)),$(call gb_Zip_get_clean_target,$(1))))
$(eval $(call gb_Module_register_target,$(call gb_Zip_get_target,$(1)),$(call gb_Zip_get_clean_target,$(1))))
$(call gb_Helper_make_userfriendly_targets,$(1),Zip,$(call gb_Zip_get_
final_
target,$(1)))
$(call gb_Helper_make_userfriendly_targets,$(1),Zip,$(call gb_Zip_get_target,$(1)))
endef
endef
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment