--- ./Makefile.orig 2013-11-12 06:44:44.000000000 -0200 +++ ./Makefile 2014-07-24 21:27:45.000000000 -0300 @@ -151,10 +151,10 @@ $(CC) $(CFLAGS) $(LDFLAGS) $(OBJS) $(LIBS) -o $(BINARY_NAME) cfg.o: Makefile cfg.c - $(CC) $(CFLAGS) -DCFGDIR=\"$(DESTDIR)$(CFGDIR)\" -c cfg.c -o cfg.o + $(CC) $(CFLAGS) -DCFGDIR=\"$(CFGDIR)\" -c cfg.c -o cfg.o main.o: Makefile main.c - $(CC) $(CFLAGS) -DCFGDIR=\"$(DESTDIR)$(CFGDIR)\" -c main.c -o main.o + $(CC) $(CFLAGS) -DCFGDIR=\"$(CFGDIR)\" -c main.c -o main.o check test: latex2rtf cd test && $(MAKE) clean @@ -209,7 +209,6 @@ cd doc && $(MAKE) -k install: latex2rtf doc/latex2rtf.1 $(CFGS) scripts/latex2png - cd doc && $(MAKE) $(MKDIR) $(DESTDIR)$(BINDIR) $(MKDIR) $(DESTDIR)$(MANDIR) $(MKDIR) $(DESTDIR)$(CFGDIR) @@ -217,9 +216,6 @@ cp -p doc/latex2rtf.1 $(DESTDIR)$(MANDIR) cp -p doc/latex2png.1 $(DESTDIR)$(MANDIR) cp -p $(CFGS) $(DESTDIR)$(CFGDIR) - cp -p doc/latex2rtf.html $(DESTDIR)$(SUPPORTDIR) - cp -p doc/latex2rtf.pdf $(DESTDIR)$(SUPPORTDIR) - cp -p doc/latex2rtf.txt $(DESTDIR)$(SUPPORTDIR) cp -p $(BINARY_NAME) $(DESTDIR)$(BINDIR) @echo "******************************************************************" @echo "*** latex2rtf successfully installed as \"$(BINARY_NAME)\""