Commit graph

4 commits

Author SHA1 Message Date
Carlos R. Mafra eea379d833 Strip off version numbers from dir name 2012-02-12 22:50:31 +00:00
Carlos R. Mafra 4a0855f460 wmauda: Fix installation dir
I'd get this:

Pilar:/home/mafra/git-repos/dockapps/wmauda-0.8 # make install
install -d /usr/local/bin
install -d /usr/local/share/pixmaps
install -d /usr/local/share/man/man1
install -m 0755 wmauda /usr/local/bin
install -m 0644 wmauda.xpm /usr/local/share/pixmaps
install -m 0644 wmauda.1 /usr/local/share/man/man1

[mafra@Pilar:wmauda-0.8]$ wmauda
ERROR: Couldn't find /usr/share/pixmaps/wmauda.xpm

So change the hardcoded installation prefix to be just /usr
instead of /usr/local
2012-02-12 18:14:28 +00:00
Carlos R. Mafra 053c6eda24 wmauda: Fix compilation error
On my openSUSE 12.1 I get this:

/usr/lib64/gcc/x86_64-suse-linux/4.6/../../../../x86_64-suse-linux/bin/ld: wmauda.o: undefined reference to symbol 'XSetWMHints'
/usr/lib64/gcc/x86_64-suse-linux/4.6/../../../../x86_64-suse-linux/bin/ld: note: 'XSetWMHints' is defined in DSO /usr/lib64/libX11.so.6 so try adding it to the linker command line
/usr/lib64/libX11.so.6: could not read symbols: Invalid operation
collect2: ld returned 1 exit status

Fix it by adding -lX11 in LIBS.
2012-02-12 18:09:44 +00:00
Carlos R. Mafra cdd7c69452 Add wmauda-0.8 2012-02-12 17:52:17 +00:00