diff options
author | Roy Marples <roy@marples.name> | 2008-01-03 17:23:42 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2008-01-03 17:23:42 +0000 |
commit | 5ce37e1cef27059193ad75c35d752af85d1288e3 (patch) | |
tree | efddfc676e976052d1055d4e796864ded558137d /src | |
parent | f56929ea7da4a726f96bc7d91e953da6ea22d70d (diff) |
Ensure that copyright is unique for rc, librc and libeinfo. Also, fix branding a little.
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile | 4 | ||||
-rw-r--r-- | src/libeinfo.c | 2 | ||||
-rw-r--r-- | src/librc.c | 2 | ||||
-rw-r--r-- | src/rc.c | 2 |
4 files changed, 6 insertions, 4 deletions
diff --git a/src/Makefile b/src/Makefile index 5d78b501..01ecf9ba 100644 --- a/src/Makefile +++ b/src/Makefile @@ -100,7 +100,9 @@ all: .depend $(TARGET) version.h: sed -n -e 's/^VERSION =[[:space:]]*\([^[:space:]]*\).*/#define VERSION "\1\"/p' ../Makefile > version.h - test -n "${BRANDING}" && echo "#define BRANDING \"${BRANDING}\"" >> version.h + if test -n "${BRANDING}"; then \ + echo "#define BRANDING \"${BRANDING}\"" >> version.h; \ + fi $(LIBEINFOOBJS): $(CC) $(CPPFLAGS) $(CPPFLAGS_LIBEINFO) $(CFLAGS) -fPIC -c $< diff --git a/src/libeinfo.c b/src/libeinfo.c index 084bbba5..c5904865 100644 --- a/src/libeinfo.c +++ b/src/libeinfo.c @@ -29,7 +29,7 @@ * SUCH DAMAGE. */ -const char copyright[] = "Copyright (c) 2007 Roy Marples"; +const char libeinfo_copyright[] = "Copyright (c) 2007 Roy Marples"; #include <sys/types.h> #include <sys/ioctl.h> diff --git a/src/librc.c b/src/librc.c index c891bdcc..8e0a62cb 100644 --- a/src/librc.c +++ b/src/librc.c @@ -29,7 +29,7 @@ * SUCH DAMAGE. */ -const char copyright[] = "Copyright (c) 2007 Roy Marples"; +const char librc_copyright[] = "Copyright (c) 2007 Roy Marples"; #include "librc.h" @@ -34,7 +34,7 @@ * SUCH DAMAGE. */ -const char copyright[] = "Copyright (c) 2007 Roy Marples"; +const char rc_copyright[] = "Copyright (c) 2007 Roy Marples"; #define SYSLOG_NAMES |