ObjFW  Check-in [07f0332a58]

Overview
Comment:Remove empty include directories on uninstall
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 07f0332a5852756876c9ac410df78f2ab2ee413cd218f2a7a408ebc59b33593a
User & Date: js on 2023-02-11 23:22:29
Other Links: manifest | tags
Context
2023-02-11
23:26
Doxyfile: Define OF_FILE_MANAGER_SUPPORTS_* check-in: bc4e978728 user: js tags: trunk
23:22
Remove empty include directories on uninstall check-in: 07f0332a58 user: js tags: trunk
23:21
Update buildsys check-in: 521c396376 user: js tags: trunk
Changes

Modified src/Makefile from [47eeebaf06] to [40cede6562].

243
244
245
246
247
248
249








		  ${LIBS}
LIBS := -Lruntime ${RUNTIME_LIBS} ${REEXPORT_RUNTIME} ${LIBS}
RCFLAGS = --use-temp-file						\
	  -DOBJFW_LIB_MAJOR=${OBJFW_LIB_MAJOR}				\
	  -DOBJFW_LIB_MINOR=${OBJFW_LIB_MINOR}				\
	  -DOBJFW_LIB_VERSION=\"${OBJFW_LIB_MAJOR}.${OBJFW_LIB_MINOR}\" \
	  -DOBJFW_SHARED_LIB=\"${OBJFW_SHARED_LIB}\"















>
>
>
>
>
>
>
>
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
		  ${LIBS}
LIBS := -Lruntime ${RUNTIME_LIBS} ${REEXPORT_RUNTIME} ${LIBS}
RCFLAGS = --use-temp-file						\
	  -DOBJFW_LIB_MAJOR=${OBJFW_LIB_MAJOR}				\
	  -DOBJFW_LIB_MINOR=${OBJFW_LIB_MINOR}				\
	  -DOBJFW_LIB_VERSION=\"${OBJFW_LIB_MAJOR}.${OBJFW_LIB_MINOR}\" \
	  -DOBJFW_SHARED_LIB=\"${OBJFW_SHARED_LIB}\"

uninstall-extra:
	for i in platform/GCC4 platform/GCC4.7 platform/PowerPC platform/macOS \
	    platform/x86 platform ""; do \
		if test -d ${DESTDIR}${includedir}/${includesubdir}/$$i; then \
			rmdir ${DESTDIR}${includedir}/${includesubdir}/$$i; \
		fi; \
	done