From 6dcb8c16e2d0f7fc243c662a64f83a159c9c51de Mon Sep 17 00:00:00 2001 From: Jay Larson Date: Fri, 2 Jun 2017 12:05:23 -0500 Subject: [PATCH] Corrected issue in Makefile preventing packaging etc/udev/rules.d --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index f9269bd..576a8a8 100644 --- a/Makefile +++ b/Makefile @@ -15,7 +15,7 @@ export URL = http://www.gentoo.org/proj/en/eudev/ BRIEF = Fork of udev DESC = eudev is a fork of system-udev with the goal of obtaining better \ compatibility with existing software -SNAPVER = 7 +SNAPVER = 8 ARCHIVE := $(PWD)/SRC/$(shell ls SRC|egrep '(bz2|gz|tar|xz)$$'|tail -1) 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) && \ 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 && \ mv -v $(ROOT)/etc/udev/udev.conf $(ROOT)/usr/share/eudev && \ 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 && \ cd $(DEV) && make -f ../Makefile.eudev-dev && mv *.snap ../ + @install -v -d -m 755 $(ROOT)/etc/udev/rules.d + test: $(ROOT) @cd $(SRCDIR); \ make check