mirror of
git://projects.qi-hardware.com/eda-tools.git
synced 2025-04-21 12:27:27 +03:00
rename gencat to genkicat (2/2)
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
|
||||
PREFIX ?= /usr/local
|
||||
|
||||
OBJS = gencat.o tree.o libs.o run.o comp.o fped.o pdf.o
|
||||
OBJS = genkicat.o tree.o libs.o run.o comp.o fped.o pdf.o
|
||||
|
||||
SHELL = /bin/bash
|
||||
CFLAGS = -Wall -g
|
||||
@@ -35,9 +35,9 @@ endif
|
||||
|
||||
.PHONY: all clean spotless install uninstall
|
||||
|
||||
all: gencat-bin
|
||||
all: genkicat-bin
|
||||
|
||||
gencat-bin: $(OBJS)
|
||||
genkicat-bin: $(OBJS)
|
||||
$(CC) $(CFLAGS) -o $@ $(OBJS) $(LDLIBS)
|
||||
|
||||
%.o: %.c
|
||||
@@ -54,24 +54,24 @@ clean:
|
||||
rm -f $(OBJS) $(OBJS:.o=.d)
|
||||
|
||||
spotless: clean
|
||||
rm -f gencat-bin
|
||||
rm -f genkicat-bin
|
||||
|
||||
#
|
||||
# Note: we use .../lib/gencat/ instead of .../libexec/gencat/ because FHS-3.0
|
||||
# does not define libexec under the /usr/local/ hierarchy. (And older versions
|
||||
# of FHS don't define libexec at all.)
|
||||
# Note: we use .../lib/genkicat/ instead of .../libexec/genkicat/ because
|
||||
# FHS-3.0 does not define libexec under the /usr/local/ hierarchy. (And
|
||||
# older versions of FHS don't define libexec at all.)
|
||||
#
|
||||
|
||||
install: all
|
||||
mkdir -p $(DESTDIR)/$(PREFIX)/bin
|
||||
mkdir -p $(DESTDIR)/$(PREFIX)/lib/gencat
|
||||
./mkgencat-wrapper -m 755 -p $(DESTDIR)/$(PREFIX)/lib/gencat/ \
|
||||
$(DESTDIR)/$(PREFIX)/bin/gencat
|
||||
install -m 755 gencat-bin $(DESTDIR)/$(PREFIX)/lib/gencat/
|
||||
install -m 755 sym2xps $(DESTDIR)/$(PREFIX)/lib/gencat/
|
||||
install -m 755 expand-pintype $(DESTDIR)/$(PREFIX)/lib/gencat/
|
||||
mkdir -p $(DESTDIR)/$(PREFIX)/lib/genkicat
|
||||
./mkgenkicat-wrapper -m 755 -p \
|
||||
$(DESTDIR)/$(PREFIX)/lib/genkicat/ \
|
||||
$(DESTDIR)/$(PREFIX)/bin/genkicat
|
||||
install -m 755 genkicat-bin $(DESTDIR)/$(PREFIX)/lib/genkicat/
|
||||
install -m 755 sym2xps $(DESTDIR)/$(PREFIX)/lib/genkicat/
|
||||
install -m 755 expand-pintype $(DESTDIR)/$(PREFIX)/lib/genkicat/
|
||||
|
||||
uninstall:
|
||||
rm -f $(DESTDIR)/$(PREFIX)/bin/gencat
|
||||
rm -rf $(DESTDIR)/$(PREFIX)/lib/gencat
|
||||
|
||||
rm -f $(DESTDIR)/$(PREFIX)/bin/genkicat
|
||||
rm -rf $(DESTDIR)/$(PREFIX)/lib/genkicat
|
||||
|
||||
Reference in New Issue
Block a user