Ensure that copyright is unique for rc, librc and libeinfo. Also, fix branding a little.

This commit is contained in:
Roy Marples 2008-01-03 17:23:42 +00:00
parent f56929ea7d
commit 5ce37e1cef
4 changed files with 6 additions and 4 deletions

View File

@ -100,7 +100,9 @@ all: .depend $(TARGET)
version.h: version.h:
sed -n -e 's/^VERSION =[[:space:]]*\([^[:space:]]*\).*/#define VERSION "\1\"/p' ../Makefile > 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): $(LIBEINFOOBJS):
$(CC) $(CPPFLAGS) $(CPPFLAGS_LIBEINFO) $(CFLAGS) -fPIC -c $< $(CC) $(CPPFLAGS) $(CPPFLAGS_LIBEINFO) $(CFLAGS) -fPIC -c $<

View File

@ -29,7 +29,7 @@
* SUCH DAMAGE. * 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/types.h>
#include <sys/ioctl.h> #include <sys/ioctl.h>

View File

@ -29,7 +29,7 @@
* SUCH DAMAGE. * SUCH DAMAGE.
*/ */
const char copyright[] = "Copyright (c) 2007 Roy Marples"; const char librc_copyright[] = "Copyright (c) 2007 Roy Marples";
#include "librc.h" #include "librc.h"

View File

@ -34,7 +34,7 @@
* SUCH DAMAGE. * SUCH DAMAGE.
*/ */
const char copyright[] = "Copyright (c) 2007 Roy Marples"; const char rc_copyright[] = "Copyright (c) 2007 Roy Marples";
#define SYSLOG_NAMES #define SYSLOG_NAMES