...
 
Commits (4)
......@@ -38,9 +38,6 @@ OBJECTS1 = $(SOURCES1:%.cpp=%.o)
TARGETS = $(TARGET1)
ARCHFILES_1 = $(HEADERS1) $(SOURCES1) Makefile fig2sxd.1
ARCHFILES = $(ARCHFILES_1:%=$(MYDIR)/%)
DEPEND = .depend-
DEPFILES = $(SOURCES1:%.cpp=$(DEPEND)%.dep)
......@@ -62,17 +59,16 @@ $(DEPFILES): $(DEPEND)%.dep: $(SRCDIR)%.cpp
-include $(DEPFILES)
clean:
rm -f $(TARGETS) $(OBJECTS1) $(DEPFILES)
rm -f $(TARGETS) $(OBJECTS1)
veryclean: clean
rm -f $(DEPFILES)
all: install
all: $(TARGET1)
install: $(TARGET1) fig2sxd.1
install: $(TARGET1) $(SRCDIR)/fig2sxd.1
install -d $(DESTDIR)/bin $(DESTDIR)/share/man/man1
install -m755 $(TARGET1) $(DESTDIR)/bin
install -m644 fig2sxd.1 $(DESTDIR)/share/man/man1
tgz:
tar czf `date +"../fig2sxd-%Y-%m-%d-%H-%M.tar.gz"` -C $(SRCDIR)../ \
$(ARCHFILES)
install -m644 $(SRCDIR)/fig2sxd.1 $(DESTDIR)/share/man/man1
.PHONY: all clean