Browse Source

Add 60-kromek-radangel.rules

tags/v0.0.32
Peter Vivell 6 years ago
parent
commit
b7e63e134e
2 changed files with 3 additions and 7 deletions
  1. 2
    7
      Makefile
  2. 1
    0
      config/60-kromek-radangel.rules

+ 2
- 7
Makefile View File

@@ -1,14 +1,9 @@
1 1
 TARGETS := all
2
-
3 2
 #SUBDIRS := $(wildcard */.)
4 3
 SUBDIRS = src src/contrib
5
-
6 4
 SUBDIRGOALS := all
7
-
8 5
 SUBDIRSCLEAN=$(addsuffix -clean,$(SUBDIRS))
9 6
 
10
-
11
-
12 7
 all: $(SUBDIRS) dist
13 8
 
14 9
 $(TARGETS): $(SUBDIRS)
@@ -32,6 +27,8 @@ dist:
32 27
 	cp -rp html/. dist/var/www/html/gamma/
33 28
 	mkdir -p dist/etc/nginx/sites-available
34 29
 	cp -p config/nginx*.conf dist/etc/nginx/sites-available/
30
+	mkdir -p dist/etc/udev/rules.d
31
+        cp -p config/*.rules dist/etc/udev/rules.d/
35 32
 
36 33
 dist-clean:
37 34
 	rm -rf dist
@@ -39,5 +36,3 @@ dist-clean:
39 36
 clean: $(SUBDIRSCLEAN) dist-clean
40 37
 
41 38
 .PHONY: $(TARGETS) $(SUBDIRS)
42
-
43
-

+ 1
- 0
config/60-kromek-radangel.rules View File

@@ -0,0 +1 @@
1
+SUBSYSTEM=="usb", ATTR{idVendor}=="04d8", ATTR{idProduct}=="0100", MODE="0666"

Loading…
Cancel
Save