[csw-devel] SF.net SVN: gar:[20602] csw/mgar/pkg/postgresql/branches/postgresql-8.4/ Makefile
guengel at users.sourceforge.net
guengel at users.sourceforge.net
Sat Apr 6 09:41:51 CEST 2013
Revision: 20602
http://gar.svn.sourceforge.net/gar/?rev=20602&view=rev
Author: guengel
Date: 2013-04-06 07:41:51 +0000 (Sat, 06 Apr 2013)
Log Message:
-----------
postgresql/branches/postgresql-8.4: Fixed man page renaming.
Modified Paths:
--------------
csw/mgar/pkg/postgresql/branches/postgresql-8.4/Makefile
Modified: csw/mgar/pkg/postgresql/branches/postgresql-8.4/Makefile
===================================================================
--- csw/mgar/pkg/postgresql/branches/postgresql-8.4/Makefile 2013-04-06 07:41:15 UTC (rev 20601)
+++ csw/mgar/pkg/postgresql/branches/postgresql-8.4/Makefile 2013-04-06 07:41:51 UTC (rev 20602)
@@ -502,15 +502,12 @@
for f in $(PKGROOT)$(datadir)/man/man$$i/* ; do \
suffix="`echo $$f | awk 'BEGIN { FS="." } { print $$NF }'`" ; \
f_no_suffix="`echo $$f | sed -e "s/\.$${suffix}$$//"`" ; \
- dont_move=0 ; \
- for d in $(BIN_NAMES_DEVEL) ; do \
- bname="`basename $${f_no_suffix}`" ; \
- if test "$${bname}" = "$$d" ; then \
- dont_move=1 ; \
- break ; \
- fi ; \
- done ; \
- test $${dont_move} -eq 0 && mv $$f $${f_no_suffix}-$(BASE_VERSION_NODOT).$${suffix} ; \
+ bname="`basename $${f_no_suffix}`" ; \
+ if echo $${bname} | ggrep -- '-$(BASE_VERSION_NODOT)$$' >/dev/null 2>&1 ; then \
+ : ; \
+ else \
+ mv $$f $${f_no_suffix}-$(BASE_VERSION_NODOT).$${suffix} ; \
+ fi ; \
done ;\
done
# Change path names in documentation
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