File tree Expand file tree Collapse file tree 4 files changed +19
-3
lines changed Expand file tree Collapse file tree 4 files changed +19
-3
lines changed Original file line number Diff line number Diff line change 11/.vscode *
22/overlay
33/VERSION
4+ services.json
Original file line number Diff line number Diff line change 1818# Build
1919#
2020.PHONY : build
21- build : build-man build-doc
21+ build : build-man build-doc build-data
22+
23+
24+ DATA := services.json
25+ .PHONY : build-data
26+ build-data : $(DATA )
27+
28+ .PHONY : services.json
29+ services.json :
30+ ls debian/* .service | jq --raw-input ' [., inputs] | map(ltrimstr("debian/$(PROJECT).") | rtrimstr(".service"))' > $@
2231
2332SRC-MAN := man
2433SRCS-MAN := $(wildcard $(SRC-MAN ) /* .md)
@@ -48,12 +57,16 @@ $(SRC-DOC)/SOURCE: $(SRC-DOC)
4857distclean : clean
4958
5059.PHONY : clean
51- clean : clean-man clean-doc clean-deb
60+ clean : clean-man clean-data clean- doc clean-deb
5261
5362.PHONY : clean-man
5463clean-man :
5564 rm -rf $(MANS )
5665
66+ .PHONY : clean-data
67+ clean-data :
68+ rm -rf $(DATA )
69+
5770.PHONY : clean-doc
5871clean-doc :
5972 rm -rf $(DOCS )
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ Priority: standard
55Standards-Version: 4.6.0
66Build-Depends: debhelper (>=12~),
77 devscripts,
8+ jq,
89 lintian,
910 pandoc,
1011 shellcheck,
Original file line number Diff line number Diff line change 1- src/radxa-otgutils /usr/sbin
1+ src/radxa-otgutils /usr/sbin/
2+ services.json /usr/share/radxa-otgutils/
23man/*.8 /usr/share/man/man8
You can’t perform that action at this time.
0 commit comments