mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-08 04:27:37 +00:00
Bug 1094521 - Rewrite export rules in toolkit/mozapps/update/updater/Makefile.in to not regenerate files every time. r=mshal
This commit is contained in:
parent
c84beb6938
commit
264a1bccd3
@ -24,10 +24,16 @@ else
|
||||
SECONDARY_CERT = dep2.der
|
||||
endif
|
||||
|
||||
export::
|
||||
$(PYTHON) $(srcdir)/gen_cert_header.py primaryCertData $(srcdir)/$(PRIMARY_CERT) > primaryCert.h
|
||||
$(PYTHON) $(srcdir)/gen_cert_header.py secondaryCertData $(srcdir)/$(SECONDARY_CERT) > secondaryCert.h
|
||||
$(PYTHON) $(srcdir)/gen_cert_header.py xpcshellCertData $(srcdir)/xpcshellCertificate.der > xpcshellCert.h
|
||||
CERT_HEADERS := primaryCert.h secondaryCert.h xpcshellCert.h
|
||||
|
||||
export:: $(CERT_HEADERS)
|
||||
|
||||
primaryCert.h: $(PRIMARY_CERT)
|
||||
secondaryCert.h: $(SECONDARY_CERT)
|
||||
xpcshellCert.h: xpcshellCertificate.der
|
||||
|
||||
$(CERT_HEADERS): gen_cert_header.py
|
||||
$(PYTHON) $< $(@:.h=Data) $(filter-out $<,$^) > $@
|
||||
|
||||
ifdef MOZ_WIDGET_GTK
|
||||
libs:: updater.png
|
||||
|
Loading…
Reference in New Issue
Block a user