ctags: install the etags symlink.
This commit is contained in:
parent
9c94939ae5
commit
10b91f0c8b
@ -1,6 +1,8 @@
|
|||||||
drwxr-xr-x root/root usr/
|
drwxr-xr-x root/root usr/
|
||||||
drwxr-xr-x root/root usr/bin/
|
drwxr-xr-x root/root usr/bin/
|
||||||
-rwxr-xr-x root/root usr/bin/ctags
|
-rwxr-xr-x root/root usr/bin/ctags
|
||||||
|
lrwxrwxrwx root/root usr/bin/etags -> ctags
|
||||||
drwxr-xr-x root/root usr/man/
|
drwxr-xr-x root/root usr/man/
|
||||||
drwxr-xr-x root/root usr/man/man1/
|
drwxr-xr-x root/root usr/man/man1/
|
||||||
-rw-r--r-- root/root usr/man/man1/ctags.1.gz
|
-rw-r--r-- root/root usr/man/man1/ctags.1.gz
|
||||||
|
lrwxrwxrwx root/root usr/man/man1/etags.1.gz -> ctags.1.gz
|
||||||
|
@ -1 +1,2 @@
|
|||||||
643cab63b39c8a24377dc4c781547d40 ctags-5.7.tar.gz
|
643cab63b39c8a24377dc4c781547d40 ctags-5.7.tar.gz
|
||||||
|
c30a41cf0e0e417b482e2acb648f215f ctags.diff
|
||||||
|
@ -6,11 +6,13 @@
|
|||||||
name=ctags
|
name=ctags
|
||||||
version=5.7
|
version=5.7
|
||||||
release=1
|
release=1
|
||||||
source=(http://dl.sourceforge.net/$name/$name-$version.tar.gz)
|
source=(http://dl.sourceforge.net/$name/$name-$version.tar.gz \
|
||||||
|
$name.diff)
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd $name-$version
|
cd $name-$version
|
||||||
./configure --prefix=/usr --disable-etags
|
patch -Np0 -i $SRC/$name.diff
|
||||||
|
./configure --prefix=/usr --enable-etags
|
||||||
make
|
make
|
||||||
make prefix=$PKG/usr install
|
make prefix=$PKG/usr install
|
||||||
}
|
}
|
||||||
|
22
ctags/ctags.diff
Normal file
22
ctags/ctags.diff
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
Index: Makefile.in
|
||||||
|
===================================================================
|
||||||
|
--- Makefile.in (revision 663)
|
||||||
|
+++ Makefile.in (working copy)
|
||||||
|
@@ -140,7 +140,7 @@
|
||||||
|
$(DEST_CTAGS): $(CTAGS_EXEC) $(bindir) FORCE
|
||||||
|
$(INSTALL_PROG) $(CTAGS_EXEC) $@ && chmod 755 $@
|
||||||
|
|
||||||
|
-$(DEST_ETAGS):
|
||||||
|
+$(DEST_ETAGS): $(DEST_CTAGS)
|
||||||
|
- if [ -x $(DEST_CTAGS) ]; then \
|
||||||
|
cd $(bindir) && $(SLINK) $(CTAGS_EXEC) $(ETAGS_EXEC); \
|
||||||
|
fi
|
||||||
|
@@ -155,7 +155,7 @@
|
||||||
|
$(DEST_CMAN): $(man1dir) $(MANPAGE) FORCE
|
||||||
|
- $(INSTALL_DATA) $(srcdir)/$(MANPAGE) $@ && chmod 644 $@
|
||||||
|
|
||||||
|
-$(DEST_EMAN):
|
||||||
|
+$(DEST_EMAN): $(DEST_CMAN)
|
||||||
|
- if [ -f $(DEST_CMAN) ]; then \
|
||||||
|
cd $(man1dir) && $(SLINK) $(CMAN) $(EMAN); \
|
||||||
|
fi
|
Loading…
x
Reference in New Issue
Block a user