+2005-02-19 Miles Bader <miles@gnu.org>
+
+ * etc/Makefile.in (install, uninstall): Fix installed image dirs.
+
+ * etc/Makefile.in (install): Put gnus-tut.txt in the right place.
+
+ * Makefile.in (all): Don't do sub-make in etc.
+ * etc/Makefile.in (all): Remove target.
+
+ * make.bat: Do image copies properly.
+
2005-02-18 Miles Bader <miles@gnu.org>
Move all remaining images from etc/gnus to etc/images/gnus.
INSTALL_DATA = @INSTALL_DATA@
SHELL = /bin/sh
-all:
- ln -s . images
-
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 gnus/*.xpm gnus/*.pbm gnus/*.xbm gnus/x-splash; do \
- echo " $(INSTALL_DATA) $$p $(etcdir)/images/$$p"; \
- $(INSTALL_DATA) $$p $(etcdir)/images/$$p; \
+ && for p in images/gnus/*.xpm images/gnus/*.pbm images/gnus/*.xbm images/gnus/x-splash; do \
+ echo " $(INSTALL_DATA) $$p $(etcdir)/$$p"; \
+ $(INSTALL_DATA) $$p $(etcdir)/$$p; \
done
$(SHELL) $(top_srcdir)/mkinstalldirs $(etcdir)/images/smilies
cd $(srcdir) \
- && for p in smilies/*.pbm smilies/*.xpm; do \
- echo " $(INSTALL_DATA) $$p $(etcdir)/images/$$p"; \
- $(INSTALL_DATA) $$p $(etcdir)/images/$$p; \
+ && for p in images/smilies/*.pbm images/smilies/*.xpm; do \
+ echo " $(INSTALL_DATA) $$p $(etcdir)/$$p"; \
+ $(INSTALL_DATA) $$p $(etcdir)/$$p; \
done
uninstall:
rm -f $(etcdir)/gnus-tut.txt
cd $(srcdir) \
- && for p in gnus/*.xpm gnus/*.pbm gnus/*.xbm gnus/x-splash; do \
- rm -f "$(etcdir)/images/$$p"; \
+ && for p in images/gnus/*.xpm images/gnus/*.pbm images/gnus/*.xbm images/gnus/x-splash; do \
+ rm -f "$(etcdir)/$$p"; \
done
rmdir $(etcdir)/images/gnus 2> /dev/null || true
cd $(srcdir) \
- && for p in smilies/*.pbm smilies/*.xpm; do \
- rm -f "$(etcdir)/images/$$p"; \
+ && for p in images/smilies/*.pbm images/smilies/*.xpm; do \
+ rm -f "$(etcdir)/$$p"; \
done
rmdir $(etcdir)/images/smilies 2> /dev/null || true
rmdir $(etcdir)/images 2> /dev/null || true
echo Stand by while copying etc files.\r
echo.\r
if not exist %GNUS_ETC_DIR%\nul mkdir %GNUS_ETC_DIR%\r
-if not exist %GNUS_ETC_DIR%\images\nul mkdir %GNUS_ETC_DIR%\images\r
xcopy /R /Q /Y gnus-tut.txt %GNUS_ETC_DIR%\r
if ErrorLevel 1 set ERROR=%ERROR%,copy-etc-gnus-tut-txt\r
-if not exist %GNUS_ETC_DIR%\images\gnus\nul mkdir %GNUS_ETC_DIR%\images\gnus\r
-xcopy /R /Q /Y .\gnus\* %GNUS_ETC_DIR%\images\gnus\\r
+if not exist %GNUS_ETC_DIR%\gnus\nul mkdir %GNUS_ETC_DIR%\gnus\r
+xcopy /R /Q /Y .\gnus\* %GNUS_ETC_DIR%\gnus\\r
if ErrorLevel 1 set ERROR=%ERROR%,copy-etc-gnus-*\r
+if not exist %GNUS_ETC_DIR%\images\nul mkdir %GNUS_ETC_DIR%\images\r
+if not exist %GNUS_ETC_DIR%\images\gnus\nul mkdir %GNUS_ETC_DIR%\images\gnus\r
+xcopy /R /Q /Y .\images\gnus\* %GNUS_ETC_DIR%\images\gnus\\r
+if ErrorLevel 1 set ERROR=%ERROR%,copy-etc-images-gnus-*\r
if not exist %GNUS_ETC_DIR%\images\smilies\nul mkdir %GNUS_ETC_DIR%\images\smilies\r
-xcopy /R /Q /Y .\smilies\* %GNUS_ETC_DIR%\images\smilies\\r
-if ErrorLevel 1 set ERROR=%ERROR%,copy-etc-smilies-*\r
+xcopy /R /Q /Y .\images\smilies\* %GNUS_ETC_DIR%\images\smilies\\r
+if ErrorLevel 1 set ERROR=%ERROR%,copy-etc-images-smilies-*\r
goto warnings\r
\r
:nocopy\r