summary refs log tree commit diff
path: root/Makefile
diff options
context:
space:
mode:
authorNakidai <nakidai@disroot.org>2024-11-29 10:53:03 +0300
committerNakidai <nakidai@disroot.org>2024-11-29 10:53:03 +0300
commit1afe6bf34076a85673ee381ef99b2a087afa537b (patch)
tree243411f69437b5ab53972d29538de72a849bdd8d /Makefile
parente5035fb268858c2b76ba1d866f7b27e5f41405db (diff)
downloadlibhttpc-1.0.0.tar.gz
libhttpc-1.0.0.zip
Fix Makefile v1.0.0
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index d99eef5..5df7ef8 100644
--- a/Makefile
+++ b/Makefile
@@ -30,11 +30,11 @@ install: all
 	install -d $(DESTDIR)/lib ${DESTDIR}/include/libhttpc
 	install -m644 libhttpc.a $(DESTDIR)/lib
 	install -m755 libhttpc.so $(DESTDIR)/lib
-	install -m644 include/{config,libhttpc}.h $(DESTDIR)/include
+	install -m644 include/{config,libhttpc}.h $(DESTDIR)/include/libhttpc
 
 uninstall:
 	$(RM) $(DESTDIR)/lib/libhttpc.{a,so}
-	$(RM) $(DESTDIR)/include/libhttpc/{config,libhttpc}.h
+	$(RM) -r $(DESTDIR)/include/libhttpc/
 
 clean:
 	rm -f ${OBJS} libhttpc.a libhttpc.so