summaryrefslogtreecommitdiffstats
path: root/contrib/global/systags
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/global/systags')
-rw-r--r--contrib/global/systags/Makefile4
-rw-r--r--contrib/global/systags/Makefile.generic2
-rwxr-xr-xcontrib/global/systags/systags.sh10
3 files changed, 6 insertions, 10 deletions
diff --git a/contrib/global/systags/Makefile b/contrib/global/systags/Makefile
index 49c9806..08d4040 100644
--- a/contrib/global/systags/Makefile
+++ b/contrib/global/systags/Makefile
@@ -1,7 +1,5 @@
-# @(#)Makefile 1.0 (Berkeley) 4/21/96
-
beforeinstall:
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
- ${.CURDIR}/systags.sh ${DESTDIR}/usr/bin/systags
+ ${.CURDIR}/systags.sh ${DESTDIR}${BINDIR}/systags
.include <bsd.prog.mk>
diff --git a/contrib/global/systags/Makefile.generic b/contrib/global/systags/Makefile.generic
index 140046f..a1a5ca6 100644
--- a/contrib/global/systags/Makefile.generic
+++ b/contrib/global/systags/Makefile.generic
@@ -1,5 +1,3 @@
-# @(#)Makefile 29-Dec-96
-
PROG = systags
BINDIR = /usr/bin
diff --git a/contrib/global/systags/systags.sh b/contrib/global/systags/systags.sh
index f14c4ad..09fa205 100755
--- a/contrib/global/systags/systags.sh
+++ b/contrib/global/systags/systags.sh
@@ -58,15 +58,15 @@ fi
# remove old files
#
case $nflag in
-1) echo "rm -rf $dir/htags.log $dir/GTAGS $dir/GRTAGS $dir/HTML";;
-*) rm -rf $dir/htags.log $dir/GTAGS $dir/GRTAGS $dir/HTML;;
+1) echo "rm -rf $dir/htags.log $dir/gtags.log $dir/GTAGS $dir/GRTAGS $dir/GSYMS $dir/HTML";;
+*) rm -rf $dir/htags.log $dir/gtags.log $dir/GTAGS $dir/GRTAGS $dir/GSYMS $dir/HTML;;
esac
#
-# make global database(GTAGS, GRTAGS).
+# make global database(GTAGS, GRTAGS, GSYMS).
#
case $nflag in
-1) echo "gtags -se $dir";;
-*) gtags -se $dir;;
+1) echo "gtags -v $dir > $dir/gtags.log 2>&1";;
+*) gtags -v $dir > $dir/gtags.log 2>&1;;
esac
case $? in
0) ;;
OpenPOWER on IntegriCloud