--- qsampler/trunk/Makefile.in 2005/03/10 17:09:17 443 +++ qsampler/trunk/Makefile.in 2005/06/12 09:40:24 631 @@ -32,12 +32,17 @@ @$(qmake) -o $(name).mak $(name).pro $(name): $(name).mak $(sources) $(headers) - @make -f $(name).mak $(name) + @make -f $(name).mak + + +# NOTE: DO NOT DELETE $(DESTDIR) in install and uninstall rules !!! +# It is mandatory for Debian packaging. -# Note: $(DESTDIR) is needed here for Debian packaging! install: $(name) icons/$(name).png - @install -vD $(name) $(DESTDIR)$(prefix)/bin/$(name) - @install -vD icons/$(name).png $(DESTDIR)$(prefix)/share/icons/$(name).png + @install -d -v -m 0755 $(DESTDIR)$(prefix)/bin + @install -d -v -m 0755 $(DESTDIR)$(prefix)/share/icons + @install -v -m 0755 $(name) $(DESTDIR)$(prefix)/bin/$(name) + @install -v -m 0644 icons/$(name).png $(DESTDIR)$(prefix)/share/icons/$(name).png uninstall: $(DESTDIR)$(prefix)/bin/$(name) @rm -vf $(DESTDIR)$(prefix)/bin/$(name)