diff options
author | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-08-25 17:27:17 +0000 |
---|---|---|
committer | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-08-25 17:27:17 +0000 |
commit | 2a8624373adc103f943e22e781c2d6fadb828eae (patch) | |
tree | bfc6f630eb2eed0e05be861ff5eb6d50a1b0d63c | |
parent | 13db3a0ea13423e6a9bab0c741880eb6e16969a9 (diff) | |
download | gcc-2a8624373adc103f943e22e781c2d6fadb828eae.tar.gz |
2011-08-25 Alexandre Lissy <alissy@mandriva.com>
* melt-module.mk: Remove slashes.
2011-08-25 Alexandre Lissy <alissy@mandriva.com>
* MELT-Plugin-Makefile: Remove useless '/' after $(DESTDIR)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@178078 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | contrib/ChangeLog.MELT | 6 | ||||
-rw-r--r-- | contrib/MELT-Plugin-Makefile | 30 | ||||
-rw-r--r-- | gcc/melt-module.mk | 8 |
3 files changed, 25 insertions, 19 deletions
diff --git a/contrib/ChangeLog.MELT b/contrib/ChangeLog.MELT index 5bfc766cd6f..173d66e445a 100644 --- a/contrib/ChangeLog.MELT +++ b/contrib/ChangeLog.MELT @@ -1,4 +1,10 @@ 2011-08-25 Alexandre Lissy <alissy@mandriva.com> + * MELT-Plugin-Makefile: Remove useless '/' after $(DESTDIR) + +2011-08-25 Alexandre Lissy <alissy@mandriva.com> + * meltpluginapi.texi: Adding missing versionsubtitle macro + +2011-08-25 Alexandre Lissy <alissy@mandriva.com> * meltpluginapi.texi: Adding missing versionsubtitle macro 2011-08-25 Alexandre Lissy <alissy@mandriva.com> diff --git a/contrib/MELT-Plugin-Makefile b/contrib/MELT-Plugin-Makefile index 8625c09b3d0..0609cd5c197 100644 --- a/contrib/MELT-Plugin-Makefile +++ b/contrib/MELT-Plugin-Makefile @@ -275,28 +275,28 @@ install: all melt.so warmelt \ install-melt-mk install-melt-default-modules-list install-melt-so install-melt-includes: melt-runtime.h melt-predef.h melt-run.h melt-run-md5.h melt/generated/meltrunsup.h - $(mkinstalldirs) $(DESTDIR)/$(MELTGCC_PLUGIN_DIR)/include/ + $(mkinstalldirs) $(DESTDIR)$(MELTGCC_PLUGIN_DIR)/include/ for f in $^; do \ - $(INSTALL_DATA) $$f $(DESTDIR)/$(MELTGCC_PLUGIN_DIR)/include/ ; \ + $(INSTALL_DATA) $$f $(DESTDIR)$(MELTGCC_PLUGIN_DIR)/include/ ; \ done install-melt-so: melt.so - $(INSTALL_PROGRAM) $< $(DESTDIR)/$(MELTGCC_PLUGIN_DIR)/melt.so + $(INSTALL_PROGRAM) $< $(DESTDIR)$(MELTGCC_PLUGIN_DIR)/melt.so ### notice that melt-sources is a directory, but melt-all-sources is a ### phony makefile target from melt-build.mk install-melt-sources: melt-sources melt-all-sources - $(mkinstalldirs) $(DESTDIR)/$(melt_source_dir) + $(mkinstalldirs) $(DESTDIR)$(melt_source_dir) for f in melt-sources/*.c melt-sources/*.melt ; do \ - $(INSTALL_DATA) $$f $(DESTDIR)/$(melt_source_dir) ; \ + $(INSTALL_DATA) $$f $(DESTDIR)$(melt_source_dir) ; \ done ### notice that melt-modules is a directory, but melt-all-modules is a ### phony makefile target from melt-build.mk install-melt-modules: melt-modules melt-all-modules - $(mkinstalldirs) $(DESTDIR)/$(melt_module_dir) + $(mkinstalldirs) $(DESTDIR)$(melt_module_dir) for l in $(wildcard melt-modules/*) : ; do \ if [ "$$l" != ":" ]; then \ $(INSTALL_PROGRAM) `readlink $$l` $(DESTDIR)$(melt_module_dir)/$$(basename `readlink $$l`) ; \ @@ -306,18 +306,18 @@ install-melt-modules: melt-modules melt-all-modules ## install the makefile for MELT modules install-melt-mk: melt-module.mk - $(mkinstalldirs) $(DESTDIR)/$(libexecsubdir) - $(INSTALL_DATA) $< $(DESTDIR)/$(melt_installed_module_makefile) + $(mkinstalldirs) $(DESTDIR)$(libexecsubdir) + $(INSTALL_DATA) $< $(DESTDIR)$(melt_installed_module_makefile) ## install the default modules list install-melt-default-modules-list: $(melt_default_modules_list).modlis - $(INSTALL_DATA) $< $(DESTDIR)/$(melt_module_dir) + $(INSTALL_DATA) $< $(DESTDIR)$(melt_module_dir) ### install the MELT documentation files install-melt-doc: doc doc-info doc-pdf doc-html - $(mkinstalldirs) $(DESTDIR)/$(MELTGCC_DOC_INFO_DIR) - $(INSTALL_DATA) *.info *.info-*[0-9] $(DESTDIR)/$(MELTGCC_DOC_INFO_DIR) - $(mkinstalldirs) $(DESTDIR)/$(MELTGCC_DOC_HTML_DIR) - $(INSTALL_DATA) *.html $(DESTDIR)/$(MELTGCC_DOC_HTML_DIR) - $(mkinstalldirs) $(DESTDIR)/$(MELTGCC_DOC_PDF_DIR) - $(INSTALL_DATA) *.pdf $(DESTDIR)/$(MELTGCC_DOC_PDF_DIR) + $(mkinstalldirs) $(DESTDIR)$(MELTGCC_DOC_INFO_DIR) + $(INSTALL_DATA) *.info *.info-*[0-9] $(DESTDIR)$(MELTGCC_DOC_INFO_DIR) + $(mkinstalldirs) $(DESTDIR)$(MELTGCC_DOC_HTML_DIR) + $(INSTALL_DATA) *.html $(DESTDIR)$(MELTGCC_DOC_HTML_DIR) + $(mkinstalldirs) $(DESTDIR)$(MELTGCC_DOC_PDF_DIR) + $(INSTALL_DATA) *.pdf $(DESTDIR)$(MELTGCC_DOC_PDF_DIR) diff --git a/gcc/melt-module.mk b/gcc/melt-module.mk index ef2d07fc295..b0426f54bca 100644 --- a/gcc/melt-module.mk +++ b/gcc/melt-module.mk @@ -125,7 +125,7 @@ $(GCCMELT_MODULE_WORKSPACE)/%.optimized.pic.o: echo optimized base3name at $(basename $(basename $(basename $@))) echo optimized base4name at $(basename $(basename $(basename $(basename $@)))) $(GCCMELT_CC) -DMELTGCC_MODULE_OPTIMIZED -DMELT_HAVE_DEBUG=0 $(GCCMELT_OPTIMIZED_FLAGS) $(GCCMELT_CFLAGS) \ - -fPIC -c -o $@ $(patsubst %, $(GCCMELT_SOURCEDIR)/%.c, $(basename $(basename $(basename $(basename $(notdir $@)))))) + -fPIC -c -o $@ $(patsubst %, $(GCCMELT_SOURCEDIR)%.c, $(basename $(basename $(basename $(basename $(notdir $@)))))) vpath %.quicklybuilt.pic.o $(GCCMELT_MODULE_WORKSPACE) $(GCCMELT_MODULE_WORKSPACE)/%.quicklybuilt.pic.o: @@ -141,7 +141,7 @@ $(GCCMELT_MODULE_WORKSPACE)/%.quicklybuilt.pic.o: echo quicklybuilt base3name at $(basename $(basename $(basename $@))) echo quicklybuilt base4name at $(basename $(basename $(basename $(basename $@)))) $(GCCMELT_CC) -DMELTGCC_MODULE_QUICKLYBUILT -DMELT_HAVE_DEBUG=1 $(GCCMELT_DEBUGNOLINE_FLAGS) $(GCCMELT_CFLAGS) \ - -fPIC -c -o $@ $(patsubst %, $(GCCMELT_SOURCEDIR)/%.c, $(basename $(basename $(basename $(basename $(notdir $@)))))) + -fPIC -c -o $@ $(patsubst %, $(GCCMELT_SOURCEDIR)%.c, $(basename $(basename $(basename $(basename $(notdir $@)))))) vpath %.debugnoline.pic.o $(GCCMELT_MODULE_WORKSPACE) $(GCCMELT_MODULE_WORKSPACE)/%.debugnoline.pic.o: @@ -153,7 +153,7 @@ $(GCCMELT_MODULE_WORKSPACE)/%.debugnoline.pic.o: GCCMELT_MODULE_FLAVOR=$(GCCMELT_MODULE_FLAVOR) \ GCCMELT_CUMULATED_MD5=$(GCCMELT_CUMULATED_MD5) $(GCCMELT_CC) -DMELTGCC_MODULE_DEBUGNOLINE -DMELT_HAVE_DEBUG=1 $(GCCMELT_QUICKLYBUILT_FLAGS) $(GCCMELT_CFLAGS) \ - -fPIC -c -o $@ $(patsubst %, $(GCCMELT_SOURCEDIR)/%.c, $(basename $(basename $(basename $(basename $(notdir $@)))))) + -fPIC -c -o $@ $(patsubst %, $(GCCMELT_SOURCEDIR)%.c, $(basename $(basename $(basename $(basename $(notdir $@)))))) vpath %.dynamic.pic.o $(GCCMELT_MODULE_WORKSPACE) $(GCCMELT_MODULE_WORKSPACE)/%.dynamic.pic.o: @@ -169,7 +169,7 @@ vpath %.dynamic.pic.o $(GCCMELT_MODULE_WORKSPACE) echo dynamic base3name at $(basename $(basename $(basename $@))) echo dynamic base4name at $(basename $(basename $(basename $(basename $@)))) $(GCCMELT_CC) -DMELTGCC_MODULE_DEBUGNOLINE -DMELT_HAVE_DEBUG=1 -DMELTGCC_DYNAMIC_OBJSTRUCT $(GCCMELT_DYNAMIC_FLAGS) $(GCCMELT_CFLAGS) \ - -fPIC -c -o $@ $(patsubst %, $(GCCMELT_SOURCEDIR)/%.c, $(basename $(basename $(basename $(basename $(notdir $@)))))) + -fPIC -c -o $@ $(patsubst %, $(GCCMELT_SOURCEDIR)%.c, $(basename $(basename $(basename $(basename $(notdir $@)))))) $(GCCMELT_MODULE_WORKSPACE)/$(basename $(notdir $(GCCMELT_DESC))).$(GCCMELT_CUMULATED_MD5).pic.o: $(GCCMELT_DESC) echo descfile at $@ caret $^ GCCMELT_DESC=$(GCCMELT_DESC) |