--- mp3info-0.8.5a/Makefile.orig 2021-01-19 09:41:28.940966500 +0100 +++ mp3info-0.8.5a/Makefile 2021-01-19 10:04:44.221242200 +0100 @@ -28,9 +28,12 @@ # bindir = where binaries get installed (default = /usr/local/bin) # mandir = where the manual page gets installed (default = /usr/local/man/man1) -prefix=/usr/local +prefix=$(DESTDIR)/usr + bindir=${prefix}/bin -mandir = $(prefix)/man/man1 +sharedir=$(prefix)/share/ +mandir=$(sharedir)/man/man1 +docdir=$(sharedir)/doc/Cygwin # No changes necessary below this line @@ -40,16 +43,16 @@ XSRC = gmp3info.c XOBJ = mp3tech.o RM = /bin/rm -INSTALL = /usr/bin/install -c +INSTALL = /usr/bin/install -D STRIP = strip LIBS = -lncurses CC = gcc -CFLAGS = -g -O2 -Wall +CFLAGS = -O4 -march=native -Wall all: mp3info gmp3info doc -doc: mp3info.txt +doc: mp3info.txt CYGWIN-PATCHES/mp3info.README mp3info: $(OBJS) $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS) @@ -72,6 +75,7 @@ $(STRIP) mp3info $(INSTALL) mp3info $(bindir)/mp3info $(INSTALL) mp3info.1 $(mandir)/mp3info.1 + $(INSTALL) CYGWIN-PATCHES/mp3info.README $(docdir)/mp3info.README install-gmp3info: gmp3info $(STRIP) gmp3info @@ -84,4 +88,4 @@ rm -f $(bindir)/mp3info rm -f $(bindir)/gmp3info rm -f $(mandir)/mp3info.1 - + rm -f $(docdir)/mp3info.README \ Pas de fin de ligne à la fin du fichier