diff --git a/Makefile b/Makefile index 5d2ac12..7957e98 100644 --- a/Makefile +++ b/Makefile @@ -21,8 +21,10 @@ $(OBJ): $(GEN) $(SCANNER) client-header < $< > $@ install: wlopm - install -D wlopm $(DESTDIR)$(BINDIR)/wlopm - install -m 644 -D wlopm.1 $(DESTDIR)$(MANDIR)/man1/wlopm.1 + install -d $(DESTDIR)$(BINDIR) + install wlopm $(DESTDIR)$(BINDIR) + install -d $(DESTDIR)$(MANDIR)/man1 + install -m 644 wlopm.1 $(DESTDIR)$(MANDIR)/man1 uninstall: $(RM) $(DESTDIR)$(BINDIR)/wlopm