commit fbceed276169dca1e44e32d08e41f412e72190a5 from: Klemens Nanni date: Thu Oct 07 15:38:38 2021 UTC Provide lib/Makefile to enable tags file generation The root Makefile does not hook into lib/ via since it is not a program itself and thus gets included by all others. This means `make tags` skips lib/ and `make -C lib/ tags` does not know what to do; provide a minimal stub and hook it up just for the "tags" such that *all* source is browsable via tags. See /usr/share/mk/bsd.README for details. Feedback stsp tb OK tb commit - e99d9267c8cc287a60f768d4282c01b9f5f6c975 commit + fbceed276169dca1e44e32d08e41f412e72190a5 blob - 5e96ac3cb604c6c6ffb943a5f7620395583905f4 blob + 8a7d489ac1ca0b7fd0cf744dfdea4257efcda1c9 --- Makefile +++ Makefile @@ -10,6 +10,10 @@ SUBDIR += regress SUBDIR += gotweb .endif +.if make(tags) || make(cleandir) +SUBDIR += lib +.endif + .include "got-version.mk" release: clean blob - /dev/null blob + 10266461c5931bb1c273a4a15de3d4d4c5d7cdd0 (mode 644) --- /dev/null +++ lib/Makefile @@ -0,0 +1,4 @@ +# simple Makefile stub to make the "tags" target work +SRCS = *.c + +.include