all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [PATCH] Do not install ChangeLog.1 in man1dir
@ 2015-04-12 15:28 Ashish SHUKLA
  2015-04-12 18:30 ` Paul Eggert
  0 siblings, 1 reply; 3+ messages in thread
From: Ashish SHUKLA @ 2015-04-12 15:28 UTC (permalink / raw)
  To: emacs-devel


[-- Attachment #1.1: Type: text/plain, Size: 364 bytes --]

Hi

Since ChangeLog files are renamed in dd1404cca, 'make install' installs
ChangeLog.1 in man1dir.

The attached diff fixes it.

Thanks!
-- 
Ashish SHUKLA

“An hour sitting with a pretty girl on a park bench passes like a minute, but a
minute sitting on a hot stove seems like an hour. That's relativity” (Albert
Einstein)

Sent from my Emacs

[-- Attachment #1.2: 0001-Do-not-install-ChangeLog.1-in-man1dir.patch --]
[-- Type: text/plain, Size: 1048 bytes --]

From 40318b2d142d2a4cd6d1d573f36fc999e0ce422f Mon Sep 17 00:00:00 2001
From: Ashish SHUKLA <ashish.is@lostca.se>
Date: Sun, 12 Apr 2015 20:44:38 +0530
Subject: [PATCH] Do not install ChangeLog.1 in man1dir

---
 Makefile.in | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Makefile.in b/Makefile.in
index 9f235d5..381b32a 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -684,12 +684,13 @@ install-man:
 	thisdir=`/bin/pwd`; \
 	cd ${mansrcdir}; \
 	for page in *.1; do \
+	  if [ "$${page}" != ChangeLog.1 ]; then \
 	  dest=`echo "$${page}" | sed -e 's/\.1$$//' -e '$(TRANSFORM)'`.1; \
 	  (cd "$${thisdir}"; \
 	   ${INSTALL_DATA} ${mansrcdir}/$${page} "$(DESTDIR)${man1dir}/$${dest}"); \
 	  [ -n "${GZIP_PROG}" ] || continue ; \
 	  rm -f "$(DESTDIR)${man1dir}/$${dest}.gz"; \
-	  ${GZIP_PROG} -9n "$(DESTDIR)${man1dir}/$${dest}" || true; \
+	  ${GZIP_PROG} -9n "$(DESTDIR)${man1dir}/$${dest}" || true; fi; \
 	done
 
 ## Install those items from etc/ that need to end up elsewhere.
-- 
2.2.1


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 818 bytes --]

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-04-12 19:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-12 15:28 [PATCH] Do not install ChangeLog.1 in man1dir Ashish SHUKLA
2015-04-12 18:30 ` Paul Eggert
2015-04-12 19:31   ` Ashish SHUKLA

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.