components/emacs/Makefile
changeset 181 87e11e685b1f
parent 180 4de0581be621
child 414 a6a8ec39f4c1
equal deleted inserted replaced
180:4de0581be621 181:87e11e685b1f
   132 # Odd thing: The file usr/share/emacs/23.1/etc/DOC-23.1.1 needed by
   132 # Odd thing: The file usr/share/emacs/23.1/etc/DOC-23.1.1 needed by
   133 # emacs gets installed as usr/share/emacs/23.1/etc/DOC-23.1.2. Correct it.
   133 # emacs gets installed as usr/share/emacs/23.1/etc/DOC-23.1.2. Correct it.
   134 COMPONENT_POST_INSTALL_ACTION += mv $(PETC)/DOC-$(COMPONENT_VERSION).2 \
   134 COMPONENT_POST_INSTALL_ACTION += mv $(PETC)/DOC-$(COMPONENT_VERSION).2 \
   135 					$(PETC)/DOC-$(COMPONENT_VERSION).1 ;
   135 					$(PETC)/DOC-$(COMPONENT_VERSION).1 ;
   136 
   136 
   137 # Throw away the manpages that were installed, and generate them again, using
   137 COMPONENT_POST_INSTALL_ACTION += cp augment/man/man1/emacs-gtk.1 \
   138 # sed to bolt on an ATTRIBUTES section. ctags is special in that it simply
   138 			$(PSHAREMAN1)/emacs-gtk.1 ;
   139 # inlines etags.1, and should not pass through solman.pl.
   139 COMPONENT_POST_INSTALL_ACTION += cp augment/man/man1/emacs-nox.1 \
   140 SOLMAN=perl tools/solman.pl
   140 			$(PSHAREMAN1)/emacs-nox.1 ;
   141 SOLMAN_CORE= $(SOLMAN) editor/gnu-emacs
   141 COMPONENT_POST_INSTALL_ACTION += cp augment/man/man1/emacs-x.1 \
   142 MAN_DIST_PCORE= $(SOLMAN_CORE) < $(COMPONENT_SRC)/doc/man/XXX \
   142 			$(PSHAREMAN1)/emacs-x.1 ;
   143 	> $(PSHAREMAN1)/XXX
       
   144 
       
   145 COMPONENT_POST_INSTALL_ACTION += rm $(PSHAREMAN1)/* ;
       
   146 COMPONENT_POST_INSTALL_ACTION += $(MAN_DIST_PCORE:XXX=b2m.1) ;
       
   147 COMPONENT_POST_INSTALL_ACTION += $(MAN_DIST_PCORE:XXX=ebrowse.1) ;
       
   148 COMPONENT_POST_INSTALL_ACTION += $(MAN_DIST_PCORE:XXX=emacs.1) ;
       
   149 COMPONENT_POST_INSTALL_ACTION += $(MAN_DIST_PCORE:XXX=emacsclient.1) ;
       
   150 COMPONENT_POST_INSTALL_ACTION += $(MAN_DIST_PCORE:XXX=grep-changelog.1) ;
       
   151 COMPONENT_POST_INSTALL_ACTION += $(MAN_DIST_PCORE:XXX=rcs-checkin.1) ;
       
   152 
       
   153 COMPONENT_POST_INSTALL_ACTION += $(SOLMAN) editor/gnu-emacs/gnu-emacs-gtk \
       
   154 	< augment/man/man1/emacs-gtk.1 > $(PSHAREMAN1)/emacs-gtk.1 ;
       
   155 COMPONENT_POST_INSTALL_ACTION += $(SOLMAN) editor/gnu-emacs/gnu-emacs-no-x11 \
       
   156 	< augment/man/man1/emacs-nox.1 > $(PSHAREMAN1)/emacs-nox.1 ;
       
   157 COMPONENT_POST_INSTALL_ACTION += $(SOLMAN) editor/gnu-emacs/gnu-emacs-x11 \
       
   158 	< augment/man/man1/emacs-x.1 > $(PSHAREMAN1)/emacs-x.1 ;
       
   159 
   143 
   160 COMPONENT_POST_INSTALL_ACTION += mkdir -p $(PGSHAREMAN1) ;
   144 COMPONENT_POST_INSTALL_ACTION += mkdir -p $(PGSHAREMAN1) ;
   161 COMPONENT_POST_INSTALL_ACTION += cp $(COMPONENT_SRC)/doc/man/ctags.1 \
   145 COMPONENT_POST_INSTALL_ACTION += cp $(COMPONENT_SRC)/doc/man/ctags.1 \
   162 					$(PGSHAREMAN1)/ctags.1 ;
   146 					$(PGSHAREMAN1)/ctags.1 ;
   163 COMPONENT_POST_INSTALL_ACTION += $(SOLMAN_CORE) \
   147 COMPONENT_POST_INSTALL_ACTION += cp $(COMPONENT_SRC)/doc/man/etags.1 \
   164 	< $(COMPONENT_SRC)/doc/man/etags.1 > $(PGSHAREMAN1)/etags.1 ;
   148 					$(PGSHAREMAN1)/etags.1 ;
   165 
   149 
   166 # Throw away usr/share/info/dir. This file is the topmost node of the Info
   150 # Throw away usr/share/info/dir. This file is the topmost node of the Info
   167 # hierarchy. Emacs builds it, as presumably do all GNU packages, but on
   151 # hierarchy. Emacs builds it, as presumably do all GNU packages, but on
   168 # Solaris, it is delivered by system/prerequisite/gnu.
   152 # Solaris, it is delivered by system/prerequisite/gnu.
   169 COMPONENT_POST_INSTALL_ACTION += rm $(PROTO_DIR)/usr/share/info/dir ;
   153 COMPONENT_POST_INSTALL_ACTION += rm $(PROTO_DIR)/usr/share/info/dir ;