mirror of
https://github.com/znc/znc.git
synced 2026-08-07 01:13:25 +02:00
Two small fixes to the makefiles
- The last commit broke windows (= everything which uses libznc) (sorry, copy&paste error) - distclean left the .pc files behind git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1581 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
+2
-2
@@ -28,7 +28,7 @@ LIB_OBJS := $(patsubst %cpp,%o,$(LIB_SRCS))
|
||||
BIN_OBJS := $(patsubst %cpp,%o,$(BIN_SRCS))
|
||||
CLEAN := znc *.o core core.*
|
||||
DISTCLEAN := Makefile config.log config.status znc-config znc-buildmod .depend \
|
||||
modules/.depend modules/Makefile man/Makefile
|
||||
modules/.depend modules/Makefile man/Makefile znc.pc znc-uninstalled.pc
|
||||
|
||||
.PHONY: all man modules clean distclean install
|
||||
|
||||
@@ -96,7 +96,7 @@ uninstall:
|
||||
rm $(DESTDIR)$(includedir)/znc/*.h
|
||||
rm $(DESTDIR)$(PKGCONFIGDIR)/znc.pc
|
||||
if test -n "$(LIBZNC)"; then \
|
||||
rm $(LIBZNC) $(DESTDIR)$(LIBZNCDIR)/$(LIBZNC) || exit 1 ; \
|
||||
rm $(DESTDIR)$(LIBZNCDIR)/$(LIBZNC) || exit 1 ; \
|
||||
rmdir $(DESTDIR)$(LIBZNCDIR) || exit 1 ; \
|
||||
fi
|
||||
@$(MAKE) -C man uninstall DESTDIR=$(DESTDIR)
|
||||
|
||||
Reference in New Issue
Block a user