summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorAnton Luka Šijanec <anton@sijanec.eu>2022-05-08 13:19:26 +0200
committerAnton Luka Šijanec <anton@sijanec.eu>2022-05-08 13:19:26 +0200
commita62ed6c5ce9708799657a0f24f7ae24012c9f181 (patch)
tree795a43d80c9b5b97b8f7b5d2a956063ba94cd911 /Makefile
parent-zu to denote size_t (diff)
downloadircxmpp-a62ed6c5ce9708799657a0f24f7ae24012c9f181.tar
ircxmpp-a62ed6c5ce9708799657a0f24f7ae24012c9f181.tar.gz
ircxmpp-a62ed6c5ce9708799657a0f24f7ae24012c9f181.tar.bz2
ircxmpp-a62ed6c5ce9708799657a0f24f7ae24012c9f181.tar.lz
ircxmpp-a62ed6c5ce9708799657a0f24f7ae24012c9f181.tar.xz
ircxmpp-a62ed6c5ce9708799657a0f24f7ae24012c9f181.tar.zst
ircxmpp-a62ed6c5ce9708799657a0f24f7ae24012c9f181.zip
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 25f6df0..3db9fd6 100644
--- a/Makefile
+++ b/Makefile
@@ -13,7 +13,7 @@ default:
install:
mkdir -p $(DESTDIR)/usr/bin $(DESTDIR)/etc $(DESTDIR)/usr/include $(DESTDIR)/usr/lib
cp $(PROJ) $(DESTDIR)/usr/bin/
- cp $(PROJ).conf $(DESTDIR)/etc/$(PROJ)
+ [ ! -f $(DESTDIR)/etc/$(PROJ) ] && cp $(PROJ).conf $(DESTDIR)/etc/$(PROJ)
cp lib$(PROJ).so $(DESTDIR)/usr/lib/
cp $(PROJ).h $(DESTDIR)/usr/include/
@@ -23,7 +23,7 @@ clean:
rm -f $(PROJ) $(PROJ).o lib$(PROJ).so
uninstall:
- rm -f $(DESTDIR)/usr/bin/$(PROJ) $(DESTDIR)/etc/$(PROJ) $(DESTDIR)/usr/include/$(PROJ).h $(DESTDIR)/usr/lib/lib$(PROJ).so
+ rm -f $(DESTDIR)/usr/bin/$(PROJ) $(DESTDIR)/usr/include/$(PROJ).h $(DESTDIR)/usr/lib/lib$(PROJ).so
valgrind:
valgrind --leak-check=full --show-leak-kinds=all --track-origins=yes --verbose --log-file=valgrind-out.txt $(COMMAND)