[csw-devel] SF.net SVN: gar:[19074] csw/mgar/pkg/bash_completion/trunk/Makefile
chninkel at users.sourceforge.net
chninkel at users.sourceforge.net
Thu Aug 23 22:27:31 CEST 2012
Revision: 19074
http://gar.svn.sourceforge.net/gar/?rev=19074&view=rev
Author: chninkel
Date: 2012-08-23 20:27:31 +0000 (Thu, 23 Aug 2012)
Log Message:
-----------
bash_completion/trunk: added a link to maintain compatibility with previous version of the package
Modified Paths:
--------------
csw/mgar/pkg/bash_completion/trunk/Makefile
Modified: csw/mgar/pkg/bash_completion/trunk/Makefile
===================================================================
--- csw/mgar/pkg/bash_completion/trunk/Makefile 2012-08-23 20:15:21 UTC (rev 19073)
+++ csw/mgar/pkg/bash_completion/trunk/Makefile 2012-08-23 20:27:31 UTC (rev 19074)
@@ -77,7 +77,7 @@
# no test script in bash_completion
TEST_SCRIPTS =
-post-merge: merge-opencsw-completion merge-additional-docs merge-changelog
+post-merge: merge-opencsw-completion merge-compatibility-link merge-additional-docs merge-changelog
# we add some completion scripts for Solaris
merge-opencsw-completion:
@@ -87,7 +87,12 @@
done )
@$(MAKECOOKIE)
+# to make sure we don't break completion loading for users of previous versions of this package
+merge-compatibility-link:
+ @(cd $(PKGROOT)$(prefix)/etc/ && ln -s profile.d/bash_completion.sh bash_completion)
+ @$(MAKECOOKIE)
+
merge-additional-docs:
@( for FILE in AUTHORS README CHANGES; do \
ginstall -D "$(WORKSRC_FIRSTMOD)/$$FILE" "$(PKGROOT)$(docdir)/$(NAME)/$$FILE"; \
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