usr/src/cmd/emacs/Makefile.sfw
changeset 11 87960ed158f9
parent 2 8f1801a322e9
equal deleted inserted replaced
10:612517e396e0 11:87960ed158f9
    17 # fields enclosed by brackets "[]" replaced with your own identifying
    17 # fields enclosed by brackets "[]" replaced with your own identifying
    18 # information: Portions Copyright [yyyy] [name of copyright owner]
    18 # information: Portions Copyright [yyyy] [name of copyright owner]
    19 #
    19 #
    20 # CDDL HEADER END
    20 # CDDL HEADER END
    21 #
    21 #
    22 # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
    22 # Copyright 2010 Sun Microsystems, Inc.  All rights reserved.
    23 # Use is subject to license terms.
    23 # Use is subject to license terms.
    24 #
    24 #
    25 # ident	"@(#)Makefile.sfw	1.3	09/10/29 SMI"
    25 # ident	"@(#)Makefile.sfw	1.4	10/03/16 SMI"
    26 
    26 
    27 VER=23.1
    27 VER=23.1
    28 EMACSDIST=emacs-$(VER)
    28 EMACSDIST=emacs-$(VER)
    29 
    29 
    30 include ../Makefile.cmd
    30 include ../Makefile.cmd
   187 #
   187 #
   188 $(PGSHAREMAN1)/ctags.1: $(EMACSDIST)/doc/man/ctags.1
   188 $(PGSHAREMAN1)/ctags.1: $(EMACSDIST)/doc/man/ctags.1
   189 	cp $(EMACSDIST)/doc/man/ctags.1 $(PGSHAREMAN1)/ctags.1
   189 	cp $(EMACSDIST)/doc/man/ctags.1 $(PGSHAREMAN1)/ctags.1
   190 
   190 
   191 $(PSHAREMAN1)/% $(PGSHAREMAN1)/%: $(EMACSDIST)/doc/man/%
   191 $(PSHAREMAN1)/% $(PGSHAREMAN1)/%: $(EMACSDIST)/doc/man/%
   192 	perl tools/sunman.pl SUNWgnu-emacs < $< > $@
   192 	perl tools/sunman.pl editor/gnu-emacs < $< > $@
   193 
   193 
   194 # Manpages lacking from the emacs distribution that we supply
   194 # Manpages lacking from the emacs distribution that we supply
   195 #
   195 #
   196 # The emacs binaries come in their own packages
   196 # The emacs binaries come in their own packages
   197 # 
   197 # 
   198 $(PSHAREMAN1)/emacs-x.1: augment/man/man1/emacs-x.1
   198 $(PSHAREMAN1)/emacs-x.1: augment/man/man1/emacs-x.1
   199 	perl tools/sunman.pl SUNWgnu-emacs-x \
   199 	perl tools/sunman.pl editor/gnu-emacs/gnu-emacs-x11 \
   200 		< augment/man/man1/emacs-x.1 > $(PSHAREMAN1)/emacs-x.1
   200 		< augment/man/man1/emacs-x.1 > $(PSHAREMAN1)/emacs-x.1
   201 
   201 
   202 $(PSHAREMAN1)/emacs-nox.1: augment/man/man1/emacs-nox.1
   202 $(PSHAREMAN1)/emacs-nox.1: augment/man/man1/emacs-nox.1
   203 	perl tools/sunman.pl SUNWgnu-emacs-nox \
   203 	perl tools/sunman.pl editor/gnu-emacs/gnu-emacs-no-x11 \
   204 		< augment/man/man1/emacs-nox.1 > $(PSHAREMAN1)/emacs-nox.1
   204 		< augment/man/man1/emacs-nox.1 > $(PSHAREMAN1)/emacs-nox.1
   205 
   205 
   206 $(PSHAREMAN1)/emacs-gtk.1: augment/man/man1/emacs-gtk.1
   206 $(PSHAREMAN1)/emacs-gtk.1: augment/man/man1/emacs-gtk.1
   207 	perl tools/sunman.pl SUNWgnu-emacs-gtk \
   207 	perl tools/sunman.pl editor/gnu-emacs/gnu-emacs-gtk \
   208 		< augment/man/man1/emacs-gtk.1 > $(PSHAREMAN1)/emacs-gtk.1
   208 		< augment/man/man1/emacs-gtk.1 > $(PSHAREMAN1)/emacs-gtk.1
   209 
   209 
   210 $(PSHAREMAN1)/%: augment/man/man1/%
   210 $(PSHAREMAN1)/%: augment/man/man1/%
   211 	perl tools/sunman.pl SUNWgnu-emacs < $< > $@
   211 	perl tools/sunman.pl editor/gnu-emacs < $< > $@
   212 
   212 
   213 
   213 
   214 $(LIBDIRSYMLINK): $(LIBDIR)
   214 $(LIBDIRSYMLINK): $(LIBDIR)
   215 	(cd $(LIBDIR); \
   215 	(cd $(LIBDIR); \
   216 		ln -s i386-pc-solaris$(SOL_REV) x86_64-pc-solaris$(SOL_REV));
   216 		ln -s i386-pc-solaris$(SOL_REV) x86_64-pc-solaris$(SOL_REV));