Skip the compilation of documents and FLTK test examples =================================================================== --- Makefile.old 2020-10-05 13:02:59.497809729 +0800 +++ Makefile.new 2020-10-05 13:05:35.173809669 +0800 @@ -18,7 +18,7 @@ include makeinclude -DIRS = $(IMAGEDIRS) src $(CAIRODIR) fluid test documentation +DIRS = $(IMAGEDIRS) src $(CAIRODIR) fluid all: makeinclude fltk-config for dir in $(DIRS); do\ @@ -36,9 +36,7 @@ done install-desktop: makeinclude - cd documentation; $(MAKE) $(MFLAGS) $(INSTALL_DESKTOP) cd fluid; $(MAKE) $(MFLAGS) $(INSTALL_DESKTOP) - cd test; $(MAKE) $(MFLAGS) $(INSTALL_DESKTOP) uninstall: makeinclude $(RM) $(DESTDIR)$(bindir)/fltk-config @@ -48,9 +46,7 @@ done uninstall-desktop: makeinclude - cd documentation; $(MAKE) $(MFLAGS) $(UNINSTALL_DESKTOP) cd fluid; $(MAKE) $(MFLAGS) $(UNINSTALL_DESKTOP) - cd test; $(MAKE) $(MFLAGS) $(UNINSTALL_DESKTOP) depend: makeinclude for dir in $(DIRS); do\ @@ -71,18 +67,9 @@ $(RM) fltk.spec $(RM) FL/Makefile $(RM) FL/abi-version.h - $(RM) documentation/*.$(CAT1EXT) - $(RM) documentation/*.$(CAT3EXT) - $(RM) documentation/*.$(CAT6EXT) - $(RM) documentation/fltk.ps - $(RM) -r documentation/fltk.d - for file in test/*.fl; do\ - $(RM) test/`basename $$file .fl`.cxx; \ - $(RM) test/`basename $$file .fl`.h; \ done fltk-config: configure configh.in fltk-config.in - if test -f config.status; then \ ./config.status --recheck; \ ./config.status; \ else \ @@ -92,7 +79,6 @@ chmod +x fltk-config makeinclude: configure configh.in makeinclude.in config.guess config.sub - if test -f config.status; then \ ./config.status --recheck; \ ./config.status; \ else \ @@ -116,7 +102,6 @@ epm -v -f native fltk etags: - etags FL/*.H FL/*.h src/*.cxx src/*.c src/*.h src/xutf8/*.h src/xutf8/*.c cairo/*.cxx fluid/*.h fluid/*.cxx test/*.h test/*.cxx # # Run the clang.llvm.org static code analysis tool on the C sources.