cp -f $< $@
# build resources file (icons and messages) : .qm file from .po file
-RESOURCES_FILES_ALL = $(notdir $(wildcard $(srcdir)/resources/*))
+RESOURCES_FILES_ALL := $(notdir $(wildcard $(srcdir)/resources/*))
+RESOURCES_FILES_ALL := $(filter-out CVS, $(RESOURCES_FILES_ALL))
+RESOURCES_FILES_ALL := $(filter-out %.po, $(RESOURCES_FILES_ALL))
RESOURCES_FILES ?= $(RESOURCES_FILES_ALL)
resources: resources-po resources-cp
resources-cp: $(RESOURCES_FILES:%=$(top_builddir)/share/salome/resources/%)
$(RESOURCES_FILES:%=$(top_builddir)/share/salome/resources/%): $(top_builddir)/share/salome/resources/% : %
- if [ $(notdir $<) != "CVS" ] ; then \
- cp -fr $< $@; \
- fi
+ cp -fr $< $@;
# Make installation directories if they don't exist.
$(libdir) $(includedir) $(bindir) $(datadir) $(idldir) $(sharedpydir):
done
# copy all resources files in common directory
-RESOURCES_FILES_ALL = $(notdir $(wildcard $(srcdir)/resources/*))
+RESOURCES_FILES_ALL := $(notdir $(wildcard $(srcdir)/resources/*))
+RESOURCES_FILES_ALL := $(filter-out CVS, $(RESOURCES_FILES_ALL))
+RESOURCES_FILES_ALL := $(filter-out %.po, $(RESOURCES_FILES_ALL))
RESOURCES_FILES ?= $(RESOURCES_FILES_ALL)
resources: $(RESOURCES_FILES:%=$(top_builddir)/share/salome/resources/%)
done
$(RESOURCES_FILES:%=$(top_builddir)/share/salome/resources/%): $(top_builddir)/share/salome/resources/% : %
- if [ $(notdir $<) != "CVS" ] ; then \
- cp -fr $< $@; \
- fi
+ cp -fr $< $@;
data:
@if test "X$(top_builddir)" = "X."; then \