X-Git-Url: http://pileus.org/git/?p=wmpus;a=blobdiff_plain;f=makefile;h=caceac9e8de918f6ef00c6b0088efea6ea209d8f;hp=7dec6041355e36b829cf909673838a9b2e384a34;hb=HEAD;hpb=f6bf3d0575376d6506cdadc32676d8b0a7de434a diff --git a/makefile b/makefile index 7dec604..caceac9 100644 --- a/makefile +++ b/makefile @@ -32,8 +32,11 @@ dist: README LICENSE config.mk.example makefile *.1 *.c *.h install: all + sed -i 's:/usr.*:$(PREFIX)/bin/wmpus:' wmpus.session install -m 755 -D $(PROG) $(DESTDIR)$(PREFIX)/bin/$(PROG) install -m 644 -D wmpus.1 $(DESTDIR)$(MANPREFIX)/man1/wmpus.1 + install -m 755 -D wmpus.session $(DESTDIR)/etc/X11/Sessions/wmpus + install -m 644 -D wmpus.desktop $(DESTDIR)$(PREFIX)/share/xsessions/wmpus.desktop uninstall: rm -f $(DESTDIR)$(PREFIX)/bin/$(PROG)