blob: 32e3caa66a24c77ceb62f12894a6df8294b17147 [file] [log] [blame]
--- dos2unix-5.3.1/dos2unix.c
+++ dos2unix-5.3.1/dos2unix.c
@@ -60,8 +60,6 @@
*/
-#define VER_AUTHOR "Erwin Waterlander"
-
/* #define DEBUG 1 */
#include "common.h"
--- dos2unix-5.3.1/Makefile
+++ dos2unix-5.3.1/Makefile
@@ -194,9 +194,14 @@
EXTRA_CFLAGS = -DVER_REVISION=\"$(DOS2UNIX_VERSION)\" \
-DVER_DATE=\"$(DOS2UNIX_DATE)\" \
+ -DVER_AUTHOR=\"$(DOS2UNIX_AUTHOR)\" \
-DDEBUG=$(DEBUG) \
$(CFLAGS_OS)
+ifeq ($(DEBUG), 1)
+ EXTRA_CFLAGS += -g
+endif
+
ifdef STATIC
EXTRA_CFLAGS += -static
endif
--- dos2unix-5.3.1/unix2dos.c
+++ dos2unix-5.3.1/unix2dos.c
@@ -50,8 +50,6 @@
*/
-#define VER_AUTHOR "Erwin Waterlander"
-
/* #define DEBUG 1 */
#include "common.h"
--- dos2unix-5.3.1/version.mk
+++ dos2unix-5.3.1/version.mk
@@ -1,3 +1,4 @@
DOS2UNIX_VERSION = 5.3.1
DOS2UNIX_VERSION_SHORT = 531
DOS2UNIX_DATE = 2011-08-09
+DOS2UNIX_AUTHOR = 'Erwin Waterlander'