X-Git-Url: https://cgit.sxemacs.org/?p=gnus;a=blobdiff_plain;f=etc%2FMakefile.in;h=255500282c62d8d025795b7dbe2fa80e7e5bae3d;hp=d8cdfce2e34f1bc610cb1a1903e39bef80f08a2b;hb=3d28050d79fc0b280be10200319cfc3d0cd251f5;hpb=206d35755e92cd6f65a45e31941845c264b436d2 diff --git a/etc/Makefile.in b/etc/Makefile.in index d8cdfce2e..255500282 100644 --- a/etc/Makefile.in +++ b/etc/Makefile.in @@ -1,6 +1,7 @@ +prefix = @prefix@ +datarootdir = @datarootdir@ datadir = @datadir@ infodir = @infodir@ -prefix = @prefix@ srcdir = @srcdir@ subdir = etc top_srcdir = @top_srcdir@ @@ -13,46 +14,90 @@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ SHELL = /bin/sh -install: - $(SHELL) $(top_srcdir)/mkinstalldirs $(etcdir) - cd $(srcdir) \ +install: + $(SHELL) $(top_srcdir)/mkinstalldirs "$(etcdir)" + @cd $(srcdir) \ && for p in gnus-tut.txt; do \ - echo " $(INSTALL_DATA) $$p $(etcdir)/images/$$p"; \ - $(INSTALL_DATA) $$p $(etcdir)/images/$$p; \ + echo "$(INSTALL_DATA) \"$$p $(etcdir)/$$p\""; \ + $(INSTALL_DATA) $$p "$(etcdir)/$$p"; \ done - $(SHELL) $(top_srcdir)/mkinstalldirs $(etcdir)/gnus - cd $(srcdir) \ - && for p in images/gnus/*.xpm images/gnus/*.pbm images/gnus/*.xbm images/gnus/x-splash; do \ - echo " $(INSTALL_DATA) $$p $(etcdir)/images/$$p"; \ - $(INSTALL_DATA) $$p $(etcdir)/images/$$p; \ + $(SHELL) $(top_srcdir)/mkinstalldirs "$(etcdir)/images/gnus" "$(etcdir)/images/mail" + @cd $(srcdir) \ + && for p in images/gnus/*.pbm images/gnus/*.png images/gnus/*.svg \ + images/gnus/*.xbm images/gnus/*.xpm images/gnus/x-splash \ + images/mail/*.pbm images/mail/*.png images/mail/*.svg \ + images/mail/*.xbm images/mail/*.xpm \ + images/*.pbm images/*.png images/*.svg images/*.xbm \ + images/*.xpm; do \ + if test -f $$p; then \ + echo "$(INSTALL_DATA) $$p \"$(etcdir)/$$p\""; \ + $(INSTALL_DATA) $$p "$(etcdir)/$$p"; \ + fi; \ done - $(SHELL) $(top_srcdir)/mkinstalldirs $(etcdir)/images/smilies - cd $(srcdir) \ - && for p in images/smilies/*.pbm images/smilies/*.xpm; do \ - echo " $(INSTALL_DATA) $$p $(etcdir)/images/$$p"; \ - $(INSTALL_DATA) $$p $(etcdir)/images/$$p; \ + $(SHELL) $(top_srcdir)/mkinstalldirs "$(etcdir)/images/smilies" \ + "$(etcdir)/images/smilies/grayscale" "$(etcdir)/images/smilies/medium" + @cd $(srcdir) \ + && for p in images/smilies/*.pbm images/smilies/*.png \ + images/smilies/*.svg images/smilies/*.xbm \ + images/smilies/*.xpm \ + images/smilies/grayscale/*.pbm \ + images/smilies/grayscale/*.png \ + images/smilies/grayscale/*.svg \ + images/smilies/grayscale/*.xbm \ + images/smilies/grayscale/*.xpm \ + images/smilies/medium/*.pbm images/smilies/medium/*.png \ + images/smilies/medium/*.svg images/smilies/medium/*.xbm \ + images/smilies/medium/*.xpm; do \ + if test -f $$p; then \ + echo "$(INSTALL_DATA) $$p \"$(etcdir)/$$p\""; \ + $(INSTALL_DATA) $$p "$(etcdir)/$$p"; \ + fi; \ done -uninstall: - rm -f $(etcdir)/gnus-tut.txt - cd $(srcdir) \ - && for p in images/gnus/*.xpm images/gnus/*.pbm images/gnus/*.xbm images/gnus/x-splash; do \ - rm -f "$(etcdir)/images/$$p"; \ +uninstall: + rm -f "$(etcdir)/gnus-tut.txt" + @cd $(srcdir) \ + && for p in images/gnus/*.pbm images/gnus/*.png images/gnus/*.svg \ + images/gnus/*.xbm images/gnus/*.xpm images/gnus/x-splash \ + images/mail/*.pbm images/mail/*.png images/mail/*.svg \ + images/mail/*.xbm images/mail/*.xpm \ + images/*.pbm images/*.png images/*.svg images/*.xbm \ + images/*.xpm; do \ + if test -f $$p; then \ + echo "rm -f \"$(etcdir)/$$p\""; \ + rm -f "$(etcdir)/$$p"; \ + fi; \ done - rmdir $(etcdir)/images/gnus 2> /dev/null || true - cd $(srcdir) \ - && for p in smilies/*.pbm smilies/*.xpm; do \ - rm -f "$(etcdir)/images/$$p"; \ + rmdir "$(etcdir)/images/gnus" 2> /dev/null || true + @cd $(srcdir) \ + && for p in images/smilies/*.pbm images/smilies/*.png \ + images/smilies/*.svg images/smilies/*.xbm \ + images/smilies/*.xpm \ + images/smilies/grayscale/*.pbm \ + images/smilies/grayscale/*.png \ + images/smilies/grayscale/*.svg \ + images/smilies/grayscale/*.xbm \ + images/smilies/grayscale/*.xpm \ + images/smilies/medium/*.pbm images/smilies/medium/*.png \ + images/smilies/medium/*.svg images/smilies/medium/*.xbm \ + images/smilies/medium/*.xpm; do \ + if test -f $$p; then \ + echo "rm -f \"$(etcdir)/$$p\""; \ + rm -f "$(etcdir)/$$p"; \ + fi; \ done - rmdir $(etcdir)/images/smilies 2> /dev/null || true - rmdir $(etcdir)/images 2> /dev/null || true + rmdir "$(etcdir)/images/smilies" 2> /dev/null || true + rmdir "$(etcdir)/images" 2> /dev/null || true Makefile: $(srcdir)/Makefile.in ../config.status cd .. \ && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status -distclean: - rm -f *~ Makefile +clean: + rm -f *~ + +distclean: clean + rm -f Makefile # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded.