This patch show how to include the wmgeneral in a previous dockapps.
The change is easy, remove the wmgeneral folder an include the
-lwmgeneral in the libraries linking.
In particular,
- Remove reference to deprecated X11R6 directory.
- Honor PREFIX and INSTALL variables.
- Change definition of CFLAGS from += to =; perhaps users don't want to
append -O2. Also move -Wall to CFLAGS.
- Use C*FLAGS only when compiling and LDFLAGS only when linking.
- Create directories if needed during install.
- Install manpage.