From: Enno Boland (tox) Date: Fri, 11 Sep 2009 07:38:53 +0000 (+0200) Subject: Makefile fixing X-Git-Url: https://git.danieliu.xyz/?a=commitdiff_plain;h=2f639aede5709c2c5105e40d35b355bdddbcf4f5;p=surf.git Makefile fixing --- diff --git a/Makefile b/Makefile index 80fe821..b98d311 100644 --- a/Makefile +++ b/Makefile @@ -35,7 +35,7 @@ clean: dist: clean @echo creating dist tarball @mkdir -p surf-${VERSION} - @cp -R LICENSE Makefile config.mk README \ + @cp -R LICENSE Makefile config.mk config.def.h README \ surf.1 ${SRC} surf-${VERSION} @tar -cf surf-${VERSION}.tar surf-${VERSION} @gzip surf-${VERSION}.tar diff --git a/surf.c b/surf.c index d1d11ec..a36af8f 100644 --- a/surf.c +++ b/surf.c @@ -16,7 +16,7 @@ #include #include -#define LENGTH(x) (sizeof x / sizeof x[0]) +#define LENGTH(x) (sizeof x / sizeof x[0]) #define CLEANMASK(mask) (mask & ~(GDK_MOD2_MASK)) Display *dpy;