|
[Rivet-svn] rivet: Use rsync (if available) for metadata installRivet Mercurial rivet at projects.hepforge.orgSat Jun 23 17:45:01 BST 2018
details: https://rivet.hepforge.org/hg/rivet/rev/34f3ac0d9501 branches: multiweight changeset: 6347:34f3ac0d9501 user: David Grellscheid <david.grellscheid at durham.ac.uk> date: Sat Jun 23 17:41:19 2018 +0100 description: Use rsync (if available) for metadata install diffs (23 lines): --- a/analyses/Makefile.am Sat Jun 23 17:23:26 2018 +0100 +++ b/analyses/Makefile.am Sat Jun 23 17:41:19 2018 +0100 @@ -43,8 +43,7 @@ install-data-local: $(PLUGIN_DATAFILES) @echo "Installing analysis data files..." $(mkdir_p) $(DESTDIR)$(pkgdatadir) - cp $(abs_srcdir)/plugin*/*.{info,plot,yoda} $(DESTDIR)$(pkgdatadir)/ -#@$(install_sh_DATA) $^ $(DESTDIR)$(pkgdatadir) + rsync -aq $(abs_srcdir)/plugin*/*.{info,plot,yoda} $(DESTDIR)$(pkgdatadir)/ || cp $(abs_srcdir)/plugin*/*.{info,plot,yoda} $(DESTDIR)$(pkgdatadir)/ uninstall-local: cd $(DESTDIR)$(libdir) && rm -f $(PLUGIN_LIBS) --- a/doc/Makefile.am Sat Jun 23 17:23:26 2018 +0100 +++ b/doc/Makefile.am Sat Jun 23 17:41:19 2018 +0100 @@ -113,7 +113,7 @@ install-data-local: doc @$(NORMAL_INSTALL) - test "$(DOCDIRS)" && cp -r $(DOCDIRS) $(DESTDIR)$(pkgdatadir)/ + test "$(DOCDIRS)" && ( rsync -aq $(DOCDIRS) $(DESTDIR)$(pkgdatadir)/ || cp -r $(DOCDIRS) $(DESTDIR)$(pkgdatadir)/ ) uninstall-local: @$(NORMAL_UNINSTALL)
More information about the Rivet-svn mailing list |