Fix to remove alert if timeout expires during system sleep.
[busymon] / Makefile
index ffbcd10..a7d27ee 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,8 @@
 
-VERSION=-0
+VERSION=-1
 
-JAVAFX_HOME=/usr/lib64/javafx-sdk-13
+JAVAFX_HOME=/usr/local/javafx-sdk-15
+JAVA_HOME=/usr/local/jdk-15
 
 CFLAGS=-Wall -Wno-parentheses
 CPPFLAGS=
@@ -33,8 +34,9 @@ clean:
        rm -rf bin
 
 install: bin/notzed.busyalert.jar bin/busymon
-       sed -e 's,@JAVAFX_HOME@,$(JAVAFX_HOME),g' \
-           -e 's,@MODULE_DIR@,$(DESTDIR)$(prefix)/share/notzed.busyalert,g' \
+       sed -e 's,@JAVA_HOME@,$(JAVA_HOME),g' \
+           -e 's,@JAVAFX_HOME@,$(JAVAFX_HOME),g' \
+           -e 's,@MODULE_DIR@,$(prefix)/share/notzed.busyalert,g' \
           < src/busyalert.in > bin/busyalert
        chmod 755 bin/busyalert
        install -D bin/busyalert $(DESTDIR)$(prefix)/share/notzed.busyalert/busyalert
@@ -48,4 +50,3 @@ dist:
        src/busyalert.in src/busymon.c \
        $(notzed.busyalert_JAVA) \
        contrib
-