diff options
author | Daniel Carl <danielcarl@gmx.de> | 2015-02-23 23:40:11 +0100 |
---|---|---|
committer | Daniel Carl <danielcarl@gmx.de> | 2015-02-23 23:40:11 +0100 |
commit | a140ad89813a72e77dcb1d1d259ad048c182fab3 (patch) | |
tree | dbe2b31b288eaffefd2834bbc823d49e896bc31d /Makefile | |
parent | f024337e5e0713fcdc37e0d662c862bb2574c97c (diff) |
Install the sample scripts too.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -19,13 +19,13 @@ clean: @$(MAKE) $(MFLAGS) -C tests clean install: $(TARGET) $(DOCDIR)/$(MAN1) - install -d $(DESTDIR)$(BINDIR) + install -D -m 755 $(SRCDIR)/$(TARGET) $(DESTDIR)$(BINDIR)/$(TARGET) + install -d $(DESTDIR)$(EXAMPLEDIR) + cp -r examples/* $(DESTDIR)$(EXAMPLEDIR) install -d $(DESTDIR)$(MANDIR)/man1 - install -m 755 $(SRCDIR)/$(TARGET) $(DESTDIR)$(BINDIR)/$(TARGET) - @echo "install -m 644 $(SRCDIR)/$(MAN1) $(DESTDIR)$(MANDIR)/man1/$(MAN1)" - @sed -e "s/VERSION/$(VERSION)/g" \ - -e "s/DATE/`date +'%m %Y'`/g" < $(DOCDIR)/$(MAN1) > $(DESTDIR)$(MANDIR)/man1/$(MAN1) - @chmod 644 $(DESTDIR)$(MANDIR)/man1/$(MAN1) + @sed -e "s!VERSION!$(VERSION)!g" \ + -e "s!PREFIX!$(PREFIX)!g" \ + -e "s!DATE!`date +'%m %Y'`!g" $(DOCDIR)/$(MAN1) > $(DESTDIR)$(MANDIR)/man1/$(MAN1) uninstall: $(RM) $(DESTDIR)$(BINDIR)/$(TARGET) |