File mt-st-0.9b.patch of Package mt_st

--- Makefile
+++ Makefile
@@ -1,7 +1,8 @@
-CFLAGS=  -Wall -O2
-SBINDIR= /sbin
-BINDIR=  /bin
-MANDIR= /usr/share/man
+CFLAGS	= -Wall -O2 -pipe
+PREFIX	= $(DESTDIR)/usr
+SBINDIR	= $(PREFIX)/sbin
+BINDIR	= $(PREFIX)/bin
+MANDIR	= $(PREFIX)/share/man
 
 all:	mt stinit
 
@@ -12,14 +13,12 @@
 	$(CC) $(CFLAGS) -o stinit stinit.c
 
 install: mt stinit
-	install -s mt $(BINDIR)
-	install -c -m 444 mt.1 $(MANDIR)/man1
-	(if [ -f $(MANDIR)/man1/mt.1.gz ] ; then \
-	  rm -f $(MANDIR)/man1/mt.1.gz; gzip $(MANDIR)/man1/mt.1; fi)
-	install -s stinit $(SBINDIR)
-	install -c -m 444 stinit.8 $(MANDIR)/man8
-	(if [ -f $(MANDIR)/man8/stinit.8.gz ] ; then \
-	  rm -f $(MANDIR)/man8/stinit.8.gz; gzip $(MANDIR)/man8/stinit.8; fi)
+	mkdir -p $(BINDIR) $(SBINDIR) $(MANDIR) $(MANDIR)/man1 $(MANDIR)/man8
+	install mt $(BINDIR)/mtst
+	install -c -m 644 mt.1 $(MANDIR)/man1/mtst.1
+	install stinit $(SBINDIR)
+	install -c -m 644 stinit.8 $(MANDIR)/man8
+ 
 
 dist:	clean
 	(mydir=`basename \`pwd\``;\
openSUSE Build Service is sponsored by