/mandos/trunk

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/trunk

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: Teddy Hogeborn
  • Date: 2013-10-27 00:45:08 UTC
  • Revision ID: teddy@recompile.se-20131027004508-puplag2stsmnkfig
Fix fallback to /var/run if /run does not exist for Makefile.

* Makefile (purge-server): Also purge the pid file in the old
                           location, if any.

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
OPTIMIZE=-Os
24
24
LANGUAGE=-std=gnu99
25
25
htmldir=man
26
 
version=1.6.1
 
26
version=1.6.2
27
27
SED=sed
28
28
 
29
29
USER=$(firstword $(subst :, ,$(shell getent passwd _mandos || getent passwd nobody || echo 65534)))
436
436
                $(DESTDIR)/etc/dbus-1/system.d/mandos.conf
437
437
                $(DESTDIR)/etc/default/mandos \
438
438
                $(DESTDIR)/etc/init.d/mandos \
439
 
                $(DESTDIR)/run/mandos.pid
 
439
                $(DESTDIR)/run/mandos.pid \
 
440
                $(DESTDIR)/var/run/mandos.pid
440
441
        -rmdir $(CONFDIR)
441
442
 
442
443
purge-client: uninstall-client