Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37570596
en ru br
Репозитории ALT
S:0.0.4-alt3.qa1
5.1: 0.0.4-alt2
4.1: 0.0.4-alt2
4.0: 0.0.4-alt2
3.0: 0.0.4-alt1
www.altlinux.org/Changes

Группа :: Работа с текстами
Пакет: o3read

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: o3read-alt-makefile.patch
Скачать


--- Makefile.orig	2005-01-07 10:28:47 +0200
+++ Makefile	2006-08-14 18:13:43 +0300
@@ -4,32 +4,30 @@
 
 CC = gcc
 CFLAGS = -Wall -ansi -pedantic -O -g
-PREFIX = /usr/local
+LDFLAGS = -lnatspec
+PREFIX = $(DESTDIR)/usr
 BINDIR = $(PREFIX)/bin
-MANDIR = $(PREFIX)/man/man1
+MANDIR = $(PREFIX)/share/man/man1
 DOCS = COPYING INSTALL README TODO ChangeLog filformat.sxw
-BINS = o3read o3totxt o3tohtml utf8tolatin1
-SRCS = o3read.h main.c o3read.c o3totxt.c o3tohtml.c utf8tolatin1.c
-MANS = o3read.1 o3tohtml.1 o3totxt.1 utf8tolatin1.1
+BINS = o3read o3totxt o3tohtml
+SRCS = o3read.h main.c o3read.c o3totxt.c o3tohtml.c
+MANS = o3read.1 o3tohtml.1 o3totxt.1
 ARCH=`uname -s`-`uname -m`
 BINDISTDIR=/usr/local
 
 all: $(BINS)
 
-utf8tolatin1: utf8tolatin1.o
-	$(CC) -o utf8tolatin1 utf8tolatin1.o
-
 o3totxt: o3totxt.o o3read.o
-	$(CC) -o o3totxt o3totxt.o o3read.o
+	$(CC) -o o3totxt o3totxt.o o3read.o $(LDFLAGS)
 
 o3tohtml: o3tohtml.o o3read.o
-	$(CC) -o o3tohtml o3tohtml.o o3read.o
+	$(CC) -o o3tohtml o3tohtml.o o3read.o $(LDFLAGS)
 
 o3tosiag: o3tosiag.o o3read.o
-	$(CC) -o o3tosiag o3tosiag.o o3read.o
+	$(CC) -o o3tosiag o3tosiag.o o3read.o $(LDFLAGS)
 
 o3read: main.o o3read.o
-	$(CC) -o o3read main.o o3read.o
+	$(CC) -o o3read main.o o3read.o $(LDFLAGS)
 
 dist:
 	rm -rf $(PACKAGE)-$(VERSION)
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin