Corrected issue in Makefile preventing packaging etc/udev/rules.d

This commit is contained in:
2017-06-02 12:05:23 -05:00
parent ecde2ef97f
commit 6dcb8c16e2

View File

@@ -15,7 +15,7 @@ export URL = http://www.gentoo.org/proj/en/eudev/
BRIEF = Fork of udev BRIEF = Fork of udev
DESC = eudev is a fork of system-udev with the goal of obtaining better \ DESC = eudev is a fork of system-udev with the goal of obtaining better \
compatibility with existing software compatibility with existing software
SNAPVER = 7 SNAPVER = 8
ARCHIVE := $(PWD)/SRC/$(shell ls SRC|egrep '(bz2|gz|tar|xz)$$'|tail -1) ARCHIVE := $(PWD)/SRC/$(shell ls SRC|egrep '(bz2|gz|tar|xz)$$'|tail -1)
TYPE := $(shell file -ib $(ARCHIVE)|cut -d';' -f1|tr -d '\n') TYPE := $(shell file -ib $(ARCHIVE)|cut -d';' -f1|tr -d '\n')
@@ -80,7 +80,6 @@ $(ROOT): $(SRCDIR)/src/udev/udevd
@cd $(SRCDIR) && make install DESTDIR=$(ROOT) && \ @cd $(SRCDIR) && make install DESTDIR=$(ROOT) && \
install -v -d -m 755 $(ROOT)/etc/init.d && \ install -v -d -m 755 $(ROOT)/etc/init.d && \
install -v -d -m 755 $(ROOT)/etc/udev/rules.d && \
install -v -d -m 755 $(ROOT)/usr/share/eudev && \ install -v -d -m 755 $(ROOT)/usr/share/eudev && \
mv -v $(ROOT)/etc/udev/udev.conf $(ROOT)/usr/share/eudev && \ mv -v $(ROOT)/etc/udev/udev.conf $(ROOT)/usr/share/eudev && \
install -v -m 755 $(PWD)/SNAP/udevd.init $(ROOT)/etc/init.d/udevd install -v -m 755 $(PWD)/SNAP/udevd.init $(ROOT)/etc/init.d/udevd
@@ -95,6 +94,8 @@ $(ROOT): $(SRCDIR)/src/udev/udevd
find $(ROOT) -type d -empty -delete && \ find $(ROOT) -type d -empty -delete && \
cd $(DEV) && make -f ../Makefile.eudev-dev && mv *.snap ../ cd $(DEV) && make -f ../Makefile.eudev-dev && mv *.snap ../
@install -v -d -m 755 $(ROOT)/etc/udev/rules.d
test: $(ROOT) test: $(ROOT)
@cd $(SRCDIR); \ @cd $(SRCDIR); \
make check make check