George Vlahavas
c6f36ab908
Remove space between sed -i and empty prefix
Otherwise it would fail with GNU sed.
8 years ago
Christian Bettinger
904a21537f
Add support for BSD in Makefile
Suffix to option -i is optional in GNU sed but mandatory in BSD sed. Adding an empty suffix allows proper installation on Linux and BSD.
8 years ago
George Vlahavas
a2da39c7e9
Clean tests when cleaning from main dir
When running "make clean" from the main directory, also clean the
generated test files.
10 years ago
George Vlahavas
c11e3a92fd
Add tests
Add a test rule that is used to test the output of xdgmenumaker. Also
add a test-clean rule that cleans the files that are generated during
testing.
10 years ago
George Vlahavas
87110b8adf
Add uninstall rule to PHONY list
10 years ago
George Vlahavas
66ef18f89f
Add message about generating manpage
Show a message that informs what's being done when running "make".
10 years ago
George Vlahavas
4dbac413da
Put desktop-directories in a custom PREFIX
When installing with "make install" use the PREFIX variable to determine
the location of desktop-directories as well. It goes under
PREFIX/share/desktop-directories
If xdgmenumaker is run in-place, it looks for it in
../desktop-directories
as it should be in the source directory tree.
10 years ago
rezso
e28b7ebee2
Fix manual installation
man/xdgmenumaker.man not created, the manual never installed
10 years ago
George Vlahavas
6c075e4903
Replace installation script with standard Makefile
Create a standard Makefile that replaces the non-standard installation
script.
10 years ago