dwm

my fork of dwm
Index Commits Files Refs README LICENSE
commit 5d3fd3707b262508d1750cf95ac2e2f666be6163
parent 1bf0c4a8e7892896bb8ed1693f36f1de5285e46c
Author: arg@10ksloc.org <unknown>
Date:   Wed,  2 Aug 2006 17:49:21 +0200

implemented the idea presented by Sander for dwm target

Diffstat:
MMakefile | 5++++-
MREADME | 3+--
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/Makefile b/Makefile
@@ -21,7 +21,10 @@ options:
     @echo CC $<
     @${CC} -c ${CFLAGS} $<
 
-${OBJ}: dwm.h
+${OBJ}: dwm.h config.h
+
+config.h:
+    cp config.default.h config.h
 
 dwm: ${OBJ}
     @echo LD $@
diff --git a/README b/README
@@ -13,10 +13,9 @@ Installation
 Edit config.mk to match your local setup (dwm is installed into
 the /usr/local namespace by default).
 
-Afterwards enter the following commands to build and install dwm (if
+Afterwards enter the following command to build and install dwm (if
 necessary as root):
 
-    cp config.default.h config.h
     make clean install