openbsd-ports/editors/xemacs21/patches/patch-lib-src_Makefile_in_in
jasoni 8737605eec Modify to no longer conflict with Emacs.
- prefix b2m, ctags and etags with xemacs-
- move info files to ${LOCALBASE}/info/xemacs-${VERSION}
ok maintainer.
2002-03-22 07:18:44 +00:00

25 lines
1.0 KiB
Plaintext

$OpenBSD: patch-lib-src_Makefile_in_in,v 1.1 2002/03/22 07:18:44 jasoni Exp $
--- lib-src/Makefile.in.in.orig Mon Mar 18 00:35:44 2002
+++ lib-src/Makefile.in.in Mon Mar 18 00:41:01 2002
@@ -212,10 +212,18 @@ ${archlibdir}: all
install: ${archlibdir}
@echo; echo "Installing utilities for users to run."
for file in ${INSTALLABLES} ; do \
- (cd .. && $(INSTALL_PROGRAM) lib-src/$${file} ${bindir}/$${file}) ; \
+ if [ $${file} = etags -o $${file} = ctags -o $${file} = b2m ]; then \
+ (cd .. && $(INSTALL_PROGRAM) lib-src/$${file} ${bindir}/xemacs-$${file}) ; \
+ else \
+ (cd .. && $(INSTALL_PROGRAM) lib-src/$${file} ${bindir}/$${file}) ; \
+ fi \
done
for file in ${INSTALLABLE_SCRIPTS} ; do \
- (cd .. && $(INSTALL_PROGRAM) ${srcdir}/$${file} ${bindir}/$${file}) ; \
+ if [ $${file} = rcs-checkin ]; then \
+ (cd .. && $(INSTALL_PROGRAM) ${srcdir}/$${file} ${bindir}/xemacs-$${file}) ; \
+ else \
+ (cd .. && $(INSTALL_PROGRAM) ${srcdir}/$${file} ${bindir}/$${file}) ; \
+ fi \
done
uninstall: