--- abcmidi.old/Makefile.in +++ abcmidi/Makefile.in @@ -45,13 +45,14 @@ prefix = @prefix@ exec_prefix = @exec_prefix@ -srcdir = @srcdir@ -VPATH = @srcdir@ -bindir = @bindir@ -libdir = @libdir@ -datadir = @datarootdir@ -docdir = @datarootdir@/doc/abcmidi -mandir = @datarootdir@/man/man1 +srcdir = @srcdir@ +VPATH = @srcdir@ + +bindir = ${prefix}/bin +libdir = ${prefix}/lib +datadir = ${prefix}/share/abcmidi +docdir = ${prefix}/doc +mandir = ${prefix}/man/man1 binaries=abc2midi midi2abc abc2abc mftext yaps midicopy abcmatch @@ -142,20 +143,17 @@ rm *.o ${binaries} install: abc2midi midi2abc abc2abc mftext midicopy yaps abcmatch - $(INSTALL) -d $(DESTDIR)$(bindir) - $(INSTALL) -m 755 ${binaries} $(DESTDIR)$(bindir) + mkdir -p ${bindir} ${datadir} ${docdir} ${mandir} + $(INSTALL) -m 755 ${binaries} ${bindir} # install documentation - $(INSTALL) -d $(DESTDIR)${docdir} - $(INSTALL) -m 644 doc/*.txt $(DESTDIR)$(docdir) - $(INSTALL) -m 644 doc/AUTHORS $(DESTDIR)$(docdir) - $(INSTALL) -m 644 doc/CHANGES $(DESTDIR)$(docdir) - $(INSTALL) -m 644 VERSION $(DESTDIR)$(docdir) + $(INSTALL) -m 644 doc/*.txt ${docdir} + $(INSTALL) -m 644 doc/AUTHORS ${docdir} + $(INSTALL) -m 644 doc/CHANGES ${docdir} + $(INSTALL) -m 644 VERSION ${docdir} # install manpages - $(INSTALL) -d $(DESTDIR)${mandir} - $(INSTALL) -m 644 doc/*.1 $(DESTDIR)$(mandir) - + $(INSTALL) -m 644 doc/*.1 ${mandir} uninstall: echo "uninstalling...";