You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
529 B
22 lines
529 B
--- plugins/Makefile.orig 2013-05-15 14:36:33.994231829 +0400
|
|
+++ plugins/Makefile 2013-05-15 14:37:06.686234429 +0400
|
|
@@ -17,14 +17,14 @@
|
|
%.so: %.c
|
|
$(CC) -o $@ $(LDFLAGS) $(CFLAGS) $^ $(LDADD)
|
|
|
|
-LIBDIR ?= $(DESTDIR)$(prefix)/lib/pptpd
|
|
+LIBDIR ?= $(prefix)/lib/pptpd
|
|
|
|
install: $(PLUGINS)
|
|
- $(INSTALL) -d $(LIBDIR)
|
|
- $(INSTALL) $? $(LIBDIR)
|
|
+ $(INSTALL) -d $(DESTDIR)$(LIBDIR)
|
|
+ $(INSTALL) $? $(DESTDIR)$(LIBDIR)
|
|
|
|
uninstall:
|
|
- rm -f $(LIBDIR)$(PLUGINS)
|
|
+ rm -f $(DESTDIR)$(LIBDIR)$(PLUGINS)
|
|
|
|
clean:
|
|
rm -f *.o *.so *.a
|