diff -Naur mp3info-0.8.4.orig/Makefile mp3info-0.8.4/Makefile --- mp3info-0.8.4.orig/Makefile Mon Jul 16 02:17:27 2001 +++ mp3info-0.8.4/Makefile Sun Apr 18 16:50:05 2004 @@ -28,18 +28,18 @@ # 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=%p bindir=${prefix}/bin -mandir = $(prefix)/man/man1 +mandir = $(prefix)/share/man/man1 # No changes necessary below this line PROG = mp3info SRCS = mp3info.c textfunc.c mp3curs.c mp3tech.c OBJS = mp3info.o textfunc.o mp3curs.o mp3tech.o -XSRC = gmp3info.c XOBJ = mp3tech.o RM = /bin/rm +MKDIR = /usr/bin/install -d INSTALL = /usr/bin/install -c STRIP = strip @@ -47,36 +47,32 @@ CC = gcc CFLAGS = -g -O2 -Wall -all: mp3info gmp3info doc +all: mp3info doc doc: mp3info.txt mp3info: $(OBJS) $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS) -gmp3info: $(XSRC) $(XOBJ) - $(CC) $(XSRC) $(CFLAGS) -o $@ $(XOBJ) `gtk-config --cflags --libs` - mp3info.txt: mp3info.1 groff -t -e -mandoc -Tascii mp3info.1 | col -bx > mp3info.txt clean: - $(RM) -f $(OBJS) $(XOBJ) mp3info gmp3info core + $(RM) -f $(OBJS) $(XOBJ) mp3info core dist: clean doc distclean: clean $(RM) -f mp3info.txt -install: mp3info gmp3info +install: mp3info + $(MKDIR) $(bindir) + $(MKDIR) $(mandir) $(STRIP) mp3info $(INSTALL) mp3info $(bindir)/mp3info - $(STRIP) gmp3info - $(INSTALL) gmp3info $(bindir)/gmp3info $(INSTALL) mp3info.1 $(mandir)/mp3info.1 uninstall: rm -f $(bindir)/mp3info - rm -f $(bindir)/gmp3info rm -f $(mandir)/mp3info.1 diff -Naur mp3info-0.8.4.orig/gmp3info.c mp3info-0.8.4/gmp3info.c --- mp3info-0.8.4.orig/gmp3info.c Mon Jul 16 02:17:16 2001 +++ mp3info-0.8.4/gmp3info.c Sat Apr 17 22:51:30 2004 @@ -484,12 +484,12 @@ } void about_mp3info(void) { - quick_popup(VERSION,"MP3Info - An ID3 Tag Editor\n\n - Original author: Ricardo Cerqueira - Current maintainer: Cedric Tefft - GTK Version: Ricardo Cerqueira \n\n - Ricardo Cerqueira, Cedric Tefft 1999-2001\n\n"); + quick_popup(VERSION,"MP3Info" +" An ID3 Tag Editor\n\n" +" Original author: Ricardo Cerqueira " +" Current maintainer: Cedric Tefft " +" GTK Version: Ricardo Cerqueira \n\n" +" Ricardo Cerqueira, Cedric Tefft 1999-2001\n\n"); } /* rmcc has left the building */