aboutgitcodebugslistschat
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2022-07-06 17:29:02 +1000
committerStefano Brivio <sbrivio@redhat.com>2022-07-14 01:32:42 +0200
commited63892a16940261055f08853914d8d8a456659a (patch)
treee2235d287f6a316293108496ba1e9023a74792a0
parentb44e16ed6cc1c81e0986ec78a8fd9d1cf48bef01 (diff)
downloadpasst-ed63892a16940261055f08853914d8d8a456659a.tar
passt-ed63892a16940261055f08853914d8d8a456659a.tar.gz
passt-ed63892a16940261055f08853914d8d8a456659a.tar.bz2
passt-ed63892a16940261055f08853914d8d8a456659a.tar.lz
passt-ed63892a16940261055f08853914d8d8a456659a.tar.xz
passt-ed63892a16940261055f08853914d8d8a456659a.tar.zst
passt-ed63892a16940261055f08853914d8d8a456659a.zip
Clean up passt.pid file
If the tests are interrupted at the right point a passt.pid file can be left over. Clean it up with "make clean" and add it to .gitignore so it doesn't get accidentally committed. Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
-rw-r--r--.gitignore1
-rw-r--r--Makefile3
2 files changed, 3 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index 89d9919..4b86fff 100644
--- a/.gitignore
+++ b/.gitignore
@@ -6,3 +6,4 @@
/qrap
/pasta.1
/seccomp.h
+/passt.pid
diff --git a/Makefile b/Makefile
index c441af3..0077fc9 100644
--- a/Makefile
+++ b/Makefile
@@ -122,7 +122,8 @@ valgrind: all
.PHONY: clean
clean:
$(RM) $(BIN) *.o seccomp.h pasta.1 \
- passt.tar passt.tar.gz *.deb *.rpm
+ passt.tar passt.tar.gz *.deb *.rpm \
+ passt.pid
install: $(BIN) $(MANPAGES)
mkdir -p $(DESTDIR)$(prefix)/bin $(DESTDIR)$(prefix)/share/man/man1