[csw-devel] SF.net SVN: gar:[13353] csw/mgar/pkg/java/ajcchain/trunk/Makefile
wbonnet at users.sourceforge.net
wbonnet at users.sourceforge.net
Fri Feb 18 00:28:58 CET 2011
Revision: 13353
http://gar.svn.sourceforge.net/gar/?rev=13353&view=rev
Author: wbonnet
Date: 2011-02-17 23:28:58 +0000 (Thu, 17 Feb 2011)
Log Message:
-----------
Fix Makefile
Modified Paths:
--------------
csw/mgar/pkg/java/ajcchain/trunk/Makefile
Modified: csw/mgar/pkg/java/ajcchain/trunk/Makefile
===================================================================
--- csw/mgar/pkg/java/ajcchain/trunk/Makefile 2011-02-17 20:16:29 UTC (rev 13352)
+++ csw/mgar/pkg/java/ajcchain/trunk/Makefile 2011-02-17 23:28:58 UTC (rev 13353)
@@ -15,20 +15,19 @@
# Set archive filename
DISTFILES = $(NAME)-$(VERSION)-bin.tar.gz
-# Defines two packages, lib and doc
-DISTFILES += $(call admfiles,CSWajcchain,)
-DISTFILES += $(call admfiles,CSWajcchaindoc,)
+PACKAGES = CSWajcchain CSWajcchaindoc
+ARCHALL = 1
+CATALOGNAME_CSWajcchain = commons_chain
+CATALOGNAME_CSWajcchaindoc = commons_chain_doc
+
# Defines package description
SPKG_DESC_CSWajcchain = $(DESCRIPTION)
SPKG_DESC_CSWajcchaindoc = $(DESCRIPTION) documentation package
-# Defines dependencies
-# RUNTIME_DEP_PKGS_CSWajcchain =
-
# Defines package content
-PKGFILES_CSWajcchain = $(prefix)/share/doc/$(NAME)/LICENSE.txt
PKGFILES_CSWajcchain += $(prefix)/share/java/.*
+LICENSE = LICENSE.txt
# Defines custom steps since java libs do not use autotools
WORKSRC = $(WORKDIR)
@@ -47,7 +46,5 @@
ln -s $(NAME)-$(VERSION).jar $(NAME)-1.jar ; \
ln -s $(NAME)-$(VERSION).jar $(NAME).jar )
@ginstall -d $(DESTDIR)$(datadir)/doc/$(NAME)
- @gcp -fp $(WORKSRC)/$(DISTNAME)/LICENSE.txt $(DESTDIR)$(datadir)/doc/$(NAME)
- @gcp -fp $(WORKSRC)/$(DISTNAME)/LICENSE.txt $(DESTDIR)$(datadir)/doc/$(NAME)/LICENSE-documentation.txt
@gcp -frp $(WORKSRC)/$(DISTNAME)/apidocs/* $(DESTDIR)$(datadir)/doc/$(NAME)
@$(MAKECOOKIE)
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