--- gkrellweather/Makefile.orig 2009-01-11 21:15:02.000000000 +0300 +++ gkrellweather/Makefile 2017-03-01 17:09:26.873796846 +0300 @@ -31,14 +31,8 @@ gkrellweather.o: gkrellweather.c install: (cd po && ${MAKE} install ) - if [ -d /usr/lib/gkrellm2/plugins/ ] ; then \ - install -c -s -m 644 gkrellweather.so /usr/lib/gkrellm2/plugins/ ; \ - elif [ -d $(PREFIX)/lib/gkrellm2/plugins/ ] ; then \ - install -c -s -m 644 gkrellweather.so $(PREFIX)/lib/gkrellm2/plugins/ ; \ - else \ - install -D -c -s -m 644 gkrellweather.so $(PREFIX)/lib/gkrellm2/plugins/gkrellweather.so ; \ - fi - install -c -m 755 GrabWeather $(PREFIX)/bin + $(INSTALL) -d $(PLUGIN_DIR) + $(INSTALL) gkrellweather.so $(PLUGIN_DIR) uninstall: (cd po && ${MAKE} uninstall )