Skip to content

Commit c54d3d3

Browse files
author
SeTSeR
committed
Fixed Makefile
1 parent 7a8a2af commit c54d3d3

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Makefile

+4-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ BUILD=./build
77
LIBS=./libs
88
DIST=./dist
99
SRC=./src
10+
EXAMPLES=./examples
1011

1112
XMLIN=$(SRC)/fxml
1213
XMLOUT=$(BUILD)/fxml
@@ -41,4 +42,6 @@ pack:
4142

4243
install:
4344
mkdir -p $(DESTDIR)$(PREFIX)/bin
44-
install -m 0755 dist/NoticEditor.jar $(DESTDIR)$(PREFIX)/bin/noticed.jar
45+
mkdir -p $(DESTDIR)$(PREFIX)/share/NoticEditor/examples
46+
install -m 0755 $(DIST)/$(OUTPUT) $(DESTDIR)$(PREFIX)/bin/$(OUTPUT)
47+
cp -rf $(EXAMPLES) $(DESTDIR)$(PREFIX)/share/NoticEditor/examples

0 commit comments

Comments
 (0)