Create missing directories when installing files.

This commit is contained in:
Erik Auerswald
2009-08-06 07:24:35 +00:00
parent 0e2e929359
commit ff384fad23
+1
View File
@@ -17,6 +17,7 @@ ssocr.1: ssocr.1.in
sed -e "s/@VERSION@/$(VERSION)/" -e "s/@DATE@/$(shell date -I)/" <$< >$@
install: all
install -d $(DESTDIR)$(BINDIR) $(DESTDIR)$(MANDIR)
install -s -m 0755 ssocr $(DESTDIR)$(BINDIR)/ssocr
install -m 0644 ssocr.1 $(DESTDIR)$(MANDIR)/ssocr.1
gzip -9 $(DESTDIR)$(MANDIR)/ssocr.1