[csw-devel] SF.net SVN: gar:[18356] csw/mgar/pkg/emacs_template/trunk/Makefile

pfelecan at users.sourceforge.net pfelecan at users.sourceforge.net
Tue Jun 12 09:43:41 CEST 2012


Revision: 18356
          http://gar.svn.sourceforge.net/gar/?rev=18356&view=rev
Author:   pfelecan
Date:     2012-06-12 07:43:40 +0000 (Tue, 12 Jun 2012)
Log Message:
-----------
kludge to install the README.CSW in the correct location (see
DISTFILES) comment.

Modified Paths:
--------------
    csw/mgar/pkg/emacs_template/trunk/Makefile

Modified: csw/mgar/pkg/emacs_template/trunk/Makefile
===================================================================
--- csw/mgar/pkg/emacs_template/trunk/Makefile	2012-06-12 07:27:20 UTC (rev 18355)
+++ csw/mgar/pkg/emacs_template/trunk/Makefile	2012-06-12 07:43:40 UTC (rev 18356)
@@ -13,7 +13,11 @@
 DISTNAME		=	template
 MASTER_SITES	=	http://downloads.sourceforge.net/emacs-template/$(DISTNAME)/$(VERSION)/
 DISTFILES  		=	$(DISTNAME)-$(VERSION).tar.gz
-DISTFILES		+=	README.CSW
+# if this is uncommented the file is found in the package and the
+# obsolecency package in a sub directory of $(docdir)/emacs_template,
+# which is incorrect and unconvenient; consequently, the file is
+# installed in the install-custom target.
+#DISTFILES		+=	README.CSW
 VENDOR_URL		=	http://emacs-template.sourceforge.net/
 
 BUILD_DEP_PKGS		+=	CSWemacs
@@ -61,6 +65,7 @@
 	ginstall --preserve-timestamps --mode=u=rwx,go=r $(WORKSRC)/lisp/template.elc $(DESTDIR)/$(lispdir)
 	ginstall --directory --mode=u=rwx,go=rx $(DESTDIR)/$(docdir)
 	ginstall --preserve-timestamps --mode=u=rwx,go=r $(WORKSRC)/lisp/ChangeLog $(DESTDIR)/$(docdir)
+	ginstall --preserve-timestamps --mode=u=rwx,go=r $(FILEDIR)/README.CSW $(DESTDIR)/$(docdir)
 	ginstall --directory --mode=u=rwx,go=rx $(DESTDIR)/$(tpldir)
 	ginstall --preserve-timestamps --mode=u=rwx,go=r $(WORKSRC)/templates/DEFAULT.tpl $(DESTDIR)/$(tpldir)
 	ginstall --preserve-timestamps --mode=u=rwx,go=r $(WORKSRC)/templates/Makefile.tpl $(DESTDIR)/$(tpldir)

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list