mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-08 12:37: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
|
SECONDARY_CERT = dep2.der
|
||||||
endif
|
endif
|
||||||
|
|
||||||
export::
|
CERT_HEADERS := primaryCert.h secondaryCert.h xpcshellCert.h
|
||||||
$(PYTHON) $(srcdir)/gen_cert_header.py primaryCertData $(srcdir)/$(PRIMARY_CERT) > primaryCert.h
|
|
||||||
$(PYTHON) $(srcdir)/gen_cert_header.py secondaryCertData $(srcdir)/$(SECONDARY_CERT) > secondaryCert.h
|
export:: $(CERT_HEADERS)
|
||||||
$(PYTHON) $(srcdir)/gen_cert_header.py xpcshellCertData $(srcdir)/xpcshellCertificate.der > xpcshellCert.h
|
|
||||||
|
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
|
ifdef MOZ_WIDGET_GTK
|
||||||
libs:: updater.png
|
libs:: updater.png
|
||||||
|
Loading…
Reference in New Issue
Block a user