diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2013-11-25 15:02:59 -0200 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2013-11-25 15:02:59 -0200 |
commit | 9e5fd2f41bbff6d563cea61149ff465c77cb521f (patch) | |
tree | db0e09e6feeca16d99ffbb53c01f9d0173581ab3 /libre/povray-libre/povray3.7.0_rc3-user-conf.patch | |
parent | 2deb067f1848134a2e54f368ad006f0fce90be18 (diff) | |
parent | a2396cba3da50234229df2dfbd4daa154200148d (diff) | |
download | abslibre-9e5fd2f41bbff6d563cea61149ff465c77cb521f.tar.gz abslibre-9e5fd2f41bbff6d563cea61149ff465c77cb521f.tar.bz2 abslibre-9e5fd2f41bbff6d563cea61149ff465c77cb521f.zip |
Merge branch 'master' of ssh://projects.parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'libre/povray-libre/povray3.7.0_rc3-user-conf.patch')
-rw-r--r-- | libre/povray-libre/povray3.7.0_rc3-user-conf.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/libre/povray-libre/povray3.7.0_rc3-user-conf.patch b/libre/povray-libre/povray3.7.0_rc3-user-conf.patch new file mode 100644 index 000000000..f20d9b506 --- /dev/null +++ b/libre/povray-libre/povray3.7.0_rc3-user-conf.patch @@ -0,0 +1,27 @@ + Makefile.am | 13 ------------- + 1 files changed, 0 insertions(+), 13 deletions(-) + +diff --git a/Makefile.am b/Makefile.am +index 76b394c..9822c52 100644 +--- a/Makefile.am ++++ b/Makefile.am +@@ -107,19 +107,6 @@ install-data-local: + for f in $$filelist ; do \ + $(INSTALL_DATA) $(top_srcdir)/doc/$$f $(DESTDIR)$(povdocdir)/$$f && echo "$(DESTDIR)$(povdocdir)/$$f" >> $(povinstall); \ + done +- @echo "Creating user directories..."; \ +- for p in $(povuser) $(povconfuser) ; do \ +- $(mkdir_p) $$p && chown $(povowner) $$p && chgrp $(povgroup) $$p && printf "%s\n" "$$p" "`cat $(povinstall)`" > $(povinstall); \ +- done +- @echo "Copying user configuration and INI files..."; \ +- for f in povray.conf povray.ini ; do \ +- if test -f $(povconfuser)/$$f; then \ +- echo "Creating backup of $(povconfuser)/$$f"; \ +- mv -f $(povconfuser)/$$f $(povconfuser)/$$f.bak; \ +- fi; \ +- done; \ +- $(INSTALL_DATA) $(top_srcdir)/povray.conf $(povconfuser)/povray.conf && chown $(povowner) $(povconfuser)/povray.conf && chgrp $(povgroup) $(povconfuser)/povray.conf && echo "$(povconfuser)/povray.conf" >> $(povinstall); \ +- $(INSTALL_DATA) $(top_builddir)/povray.ini $(povconfuser)/povray.ini && chown $(povowner) $(povconfuser)/povray.ini && chgrp $(povgroup) $(povconfuser)/povray.ini && echo "$(povconfuser)/povray.ini" >> $(povinstall) + + # Remove data, config, and empty folders for 'make uninstall'. + # Use 'hook' instead of 'local' so as to properly remove *empty* folders (e.g. scripts). |