components/a2ps/Makefile
changeset 59 7500d63edb42
parent 58 d8024c042a00
child 61 7684fe2a9eb5
--- a/components/a2ps/Makefile	Fri Jan 14 13:12:28 2011 -0800
+++ b/components/a2ps/Makefile	Fri Jan 14 13:41:54 2011 -0800
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2004, 2011, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2010, 2011, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../make-rules/shared-macros.mk
 
@@ -45,11 +45,15 @@
 
 # because viewpathing isn't quite right in this version of a2ps
 COMPONENT_PREP_ACTION = \
-	(cd $(@D) ; ln -s auxdir/mkinstalldirs)
+	(cd $(@D) ; ln -s $(SOURCE_DIR)/auxdir/mkinstalldirs)
 COMPONENT_POST_CONFIGURE_ACTION = \
 	(cd $(@D)/doc ; \
-	 ln -s ../../doc/make-authors.pl ; \
-	 ln -s ../../doc/translators.txt)
+	 ln -s $(SOURCE_DIR)/doc/make-authors.pl ; \
+	 ln -s $(SOURCE_DIR)/doc/translators.txt) ; \
+	(cd $(@D)/sheets ; \
+	 for sheet in $(SOURCE_DIR)/sheets/*.ssh ; do ; \
+	     ln -s $$sheet ; \
+	 done)
 
 SFWPROGS =	a2ps card composeglyphs fixnt fixps ogonkify pdiff psmandup \
 		psset texi2dvi4a2ps