From 7cdcebdf5823f3b135a36a82a045dc39bafdb41b Mon Sep 17 00:00:00 2001 From: illiliti Date: Tue, 15 Sep 2020 01:49:49 +0300 Subject: [PATCH] drop libudev.pc from all --- Makefile | 4 ++-- README.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index d9f7ca9..8147ca2 100644 --- a/Makefile +++ b/Makefile @@ -17,7 +17,7 @@ OBJ = \ udev_monitor.o \ udev_enumerate.o -all: libudev.so libudev.a libudev.pc +all: libudev.so libudev.a .c.o: ${CC} ${XCFLAGS} -c -o $@ $< @@ -39,7 +39,7 @@ install: libudev.so libudev.a libudev.pc cp -f udev.h ${DESTDIR}${INCLUDEDIR}/libudev.h cp -f libudev.a ${DESTDIR}${LIBDIR}/libudev.a cp -f libudev.so ${DESTDIR}${LIBDIR}/libudev.so - ln -s libudev.so ${DESTDIR}${LIBDIR}/libudev.so.1 + ln -fs libudev.so ${DESTDIR}${LIBDIR}/libudev.so.1 cp -f libudev.pc ${DESTDIR}${LIBDIR}/pkgconfig/ uninstall: diff --git a/README.md b/README.md index 5db2261..0bb96b3 100644 --- a/README.md +++ b/README.md @@ -52,7 +52,7 @@ Installation ------------ ```sh -make PREFIX=/usr +make make PREFIX=/usr install # will overwrite existing udev libraries if any # rebuild all packages which depends on udev # here we go !