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
5127cb76
Kaydet (Commit)
5127cb76
authored
May 23, 2012
tarafından
Bjoern Michaelsen
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
make gbuild deliver more robust in when using HARDLINK
üst
383d3266
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
3 deletions
+10
-3
Deliver.mk
solenv/gbuild/Deliver.mk
+10
-3
No files found.
solenv/gbuild/Deliver.mk
Dosyayı görüntüle @
5127cb76
...
@@ -31,7 +31,12 @@ gb_Deliver_GNUCOPY := $(GNUCOPY)
...
@@ -31,7 +31,12 @@ gb_Deliver_GNUCOPY := $(GNUCOPY)
# if ($true) then old files will get removed from the target location before
# if ($true) then old files will get removed from the target location before
# they are copied there. In multi-user environments, this is needed you need to
# they are copied there. In multi-user environments, this is needed you need to
# be the owner of the target file to be able to modify timestamps
# be the owner of the target file to be able to modify timestamps
ifeq ($(strip gb_Deliver_HARDLINK),)
gb_Deliver_CLEARONDELIVER := $(false)
gb_Deliver_CLEARONDELIVER := $(false)
else
gb_Deliver_CLEARONDELIVER := $(true)
endif
define gb_Deliver_init
define gb_Deliver_init
gb_Deliver_DELIVERABLES :=
gb_Deliver_DELIVERABLES :=
...
@@ -54,15 +59,17 @@ endif
...
@@ -54,15 +59,17 @@ endif
endef
endef
ifeq ($(strip $(gb_Deliver_GNUCOPY)),)
define gb_Deliver__deliver
define gb_Deliver__deliver
$(if $(gb_Deliver_CLEARONDELIVER),rm -f $(2) &&) $(if $(gb_Deliver_HARDLINK),ln,cp -P -f) $(1) $(2) && touch -r $(1) $(2)
$(if $(gb_Deliver_CLEARONDELIVER),rm -f $(2) &&) $(if $(gb_Deliver_HARDLINK),ln,cp -P -f) $(1) $(2) && touch -r $(1) $(2)
endef
endef
else
ifneq ($(strip $(gb_Deliver_GNUCOPY)),)
ifeq ($(strip $(gb_Deliver_HARDLINK)),)
define gb_Deliver__deliver
define gb_Deliver__deliver
$(gb_Deliver_GNUCOPY) $(if $(gb_Deliver_CLEARONDELIVER),--remove-destination)
$(if $(gb_Deliver_HARDLINK),--link)
--no-dereference --force --preserve=timestamps $(1) $(2)
$(gb_Deliver_GNUCOPY) $(if $(gb_Deliver_CLEARONDELIVER),--remove-destination) --no-dereference --force --preserve=timestamps $(1) $(2)
endef
endef
endif
endif
endif
define gb_Deliver_deliver
define gb_Deliver_deliver
$(if $(1),$(call gb_Deliver__deliver,$(1),$(2)),\
$(if $(1),$(call gb_Deliver__deliver,$(1),$(2)),\
...
...
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