Install *.cfg files used for cross-compiling NSPRPUB_PRE_4_2_CLIENT_BRANCH
authorseawood%netscape.com
Sat, 13 Oct 2001 06:01:18 +0000
branchNSPRPUB_PRE_4_2_CLIENT_BRANCH
changeset 2081 2478646baceec57577375ae7312d4ce038d8c1ec
parent 2080 f7b658767eabdca997819b883413c2662e61b90c
child 2085 628dcc8352e4da1129f963754655acb90a49a44f
push idunknown
push userunknown
push dateunknown
Install *.cfg files used for cross-compiling
pr/include/md/Makefile.in
--- a/pr/include/md/Makefile.in
+++ b/pr/include/md/Makefile.in
@@ -36,34 +36,36 @@
 MOD_DEPTH	= ../../..
 topsrcdir	= @top_srcdir@
 srcdir		= @srcdir@
 VPATH		= @srcdir@
 
 include $(MOD_DEPTH)/config/autoconf.mk
 
 HEADERS = $(wildcard $(srcdir)/*.h)
+CONFIGS = $(wildcard $(srcdir)/*.cfg)
 
 include $(topsrcdir)/config/rules.mk
 
 export:: $(MDCPUCFG_H)
 	$(INSTALL) -m 444 $(srcdir)/$(MDCPUCFG_H) $(dist_includedir)
+	$(INSTALL) -m 444 $(CONFIGS) $(HEADERS) $(dist_includedir)/md
 ifneq ($(OS_ARCH),OpenVMS)
 	mv -f $(dist_includedir)/$(MDCPUCFG_H) $(dist_includedir)/prcpucfg.h
 else
 # mv'ing a link causes the file itself to move, not the link.
 	rm -f $(dist_includedir)/$(MDCPUCFG_H)
 	rm -f $(dist_includedir)/prcpucfg.h
 	ln -fs $(srcdir)/$(MDCPUCFG_H) $(dist_includedir)/prcpucfg.h
 endif
 
 real_install::
 	$(NSINSTALL) -D $(DESTDIR)$(includedir)/md
 	cp $(srcdir)/$(MDCPUCFG_H) $(DESTDIR)$(includedir)/prcpucfg.h
-	$(NSINSTALL) -t -m 644 $(HEADERS) $(DESTDIR)$(includedir)/md
+	$(NSINSTALL) -t -m 644 $(CONFIG) $(HEADERS) $(DESTDIR)$(includedir)/md
 
 release:: export
 	@echo "Copying machine-dependent prcpucfg.h"
 	@if test -z "$(BUILD_NUMBER)"; then \
 		echo "BUILD_NUMBER must be defined"; \
 		false; \
 	fi
 	@if test ! -d $(RELEASE_INCLUDE_DIR); then \