-
Notifications
You must be signed in to change notification settings - Fork 36
/
Copy pathMakefile
37 lines (26 loc) · 1.03 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# projects_opensuse := $(shell echo openSUSE:Leap:15.2:Staging:{A..D})
openSUSE%: FORCE
mkdir -p $@ && python3 script/scriptgen.py $@
.PHONY: FORCE
FORCE:
install_apparmor:
install -d -m 755 "$(DESTDIR)"/etc/apparmor.d
install -d -m 755 "$(DESTDIR)"/etc/apparmor.d/local
install -m 644 profiles/apparmor.d/opt.openqa-trigger-from-obs.script.rsync.sh "$(DESTDIR)"/etc/apparmor.d/
install -m 644 profiles/apparmor.d/local/opt.openqa-trigger-from-obs.script.rsync.sh "$(DESTDIR)"/etc/apparmor.d/local/
install -m 644 profiles/apparmor.d/local/usr.share.openqa.script.openqa "$(DESTDIR)"/etc/apparmor.d/local/
update_files.lst:
(cd t && bash update_read_files.sh *bs/*)
revert_update_files.lst:
git checkout -- t/*bs/*/*.lst
git checkout -- t/*bs/*/*/*.lst
test:
(cd t && bash run.sh)
test_docker:
(cd t && bash run_docker.sh)
test_regen_all:
(bash t/regen_all.sh)
test_update_before_files: test_regen_all
(cd t && bash test_before_after_diff.sh --update-before *bs/*)
test_python_style:
black --check --fast --diff script/scriptgen.py