SUBDIRS = $(IDLDIR) src doc salome_adm bin resources
-DIST_SUBDIRS= idl src doc salome_adm bin resources
\ No newline at end of file
+DIST_SUBDIRS= idl src doc salome_adm bin resources
+
+DISTCLEANFILES = a.out
dist-hook:
rm -rf `find $(distdir)/appliskel -name CVS`
+DISTCLEANFILES = $(top_builddir)/bin/@PACKAGE@/Makefile.am
-install: install-am install-appliskel
+clean-local:
+ rm -rf $(top_builddir)/bin/@PACKAGE@/appliskel
+ cd $(top_builddir)/bin/@PACKAGE@; \
+ rm -f $(dist_salomescript_DATA) $(dist_salomescript_SCRIPTS)
# This is an ugly target to avoid exploring the appliskel subdirectory.
-install-appliskel:
+install-exec-local:
$(INSTALL) -d $(salomescriptdir)
cp -r $(srcdir)/appliskel $(salomescriptdir)
find $(salomescriptdir) -name CVS | xargs rm -rf
+
+uninstall-local:
+ find $(salomescriptdir)/appliskel -exec chmod +w {} \;
+ rm -rf $(salomescriptdir)/appliskel
$(OMNIORB_IDL) $(IDLCXXFLAGS) $(OMNIORB_IDLCXXFLAGS) $<
-# This target overload the standard definition of install. The target
-# install-pyidl is added to process python corba stubs for SALOME.
-install: install-am install-pyidl
-
-install-pyidl: $(IDL_FILES:%=$(top_srcdir)/idl/%)
+install-exec-local: $(IDL_FILES:%=$(top_srcdir)/idl/%)
$(INSTALL) -d $(pkgpythondir)
ls $^ | while read file; do \
$(OMNIORB_IDL) $(IDLPYFLAGS) -C$(pkgpythondir) $$file ; \
done
+# uninstall-local removes too much, but it works in distcheck
+uninstall-local:
+ rm -rf $(pkgpythondir)/*
+
mostlyclean-local:
-rm -f *.hh *.cc .depidl