]> granicus.if.org Git - psmisc/commitdiff
better way to make signames.h
authorCraig Small <csmall@users.sourceforge.net>
Wed, 13 Dec 2000 23:59:32 +0000 (23:59 +0000)
committerCraig Small <csmall@users.sourceforge.net>
Wed, 13 Dec 2000 23:59:32 +0000 (23:59 +0000)
ChangeLog
src/Makefile.am
src/signames.c [new file with mode: 0644]

index 1d08b7ccae4a28c3187cd4353cd795a507876598..112faee2c009982e8f9ea263431e93c8f938c763 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+Changes from 19 to 20 (14-DEC-2000)
+===================================
+ - New maintainer
+ - Uses automake/autoconf to determine things
+ - License changed to GPL
+ - signames.h generated better (suggested by Grant Erickson)
+
 Changes from version 18 to 19 (25-OCT-1999)
 =============================
 
index bd533421d6445ac9d73ded3b0ccd2ef43745ce6c..49b85011842a37872a0e7b1a8639547ba8192cfb 100644 (file)
@@ -11,8 +11,8 @@ pstree_LDADD = @TERMCAP_LIB@
 
 BUILT_SOURCES = signames.h
 
-signames.h: /usr/include/signal.h
-               @CPP@ -dM - </usr/include/signal.h | \
+signames.h: signames.c
+               @CPP@ -dM $< |\
                tr -s '\t ' ' ' | sort -n +2 | sed \
        's:#define SIG\([A-Z]\+[0-9]*\) \([0-9]\+\) *\(\|/\*.*\)$$:{\
 \2,"\1" },:p;d' | \
diff --git a/src/signames.c b/src/signames.c
new file mode 100644 (file)
index 0000000..fd8d455
--- /dev/null
@@ -0,0 +1,5 @@
+/*
+ * signames.c: Dummy file to better generate signames.h
+ */
+
+#include <signal.h>