-#
-# MyPLC native : lightweight packaging, dependencies are yum-installed in a vserver
-#
-myplc-native-MODULES := MyPLC build
-myplc-native-SPEC := myplc-native.spec
-# Package must be built as root
-myplc-native-RPMBUILD := sudo bash ./rpmbuild.sh
-# Thierry : don't depend on these at build-time
-#myplc-native-DEPENDS := $(MyPLC-DEPENDS)
-# Thierry : dunno about this one, let's stay safe
-myplc-native-DEPENDFILES := $(MyPLC-DEPENDFILES)
-ALL += myplc-native
-
-######################################## obsolete section
-### #
-### # MyPLC development environment : chroot-based
-### #
-### myplc-devel-MODULES := MyPLC build
-### myplc-devel-SPEC := myplc-devel.spec
-### myplc-devel-RPMBUILD := sudo bash ./rpmbuild.sh
-### #ALL += myplc-devel
-###
-### #
-### # MyPLC native development environment
-### #
-### myplc-devel-native-MODULES := MyPLC
-### myplc-devel-native-SPEC := myplc-devel-native.spec
-### #ALL += myplc-devel-native
+# myplc-docs only contains docs for PLCAPI and NMAPI, but
+# we still need to pull MyPLC, as it is where the specfile lies,
+# together with the utility script docbook2drupal.sh
+myplc-docs-MODULES := MyPLC PLCAPI NodeManager Monitor
+myplc-docs-SPEC := myplc-docs.spec
+ALL += myplc-docs
+
+# using some other name than myplc-release, as this is a make target already
+release-MODULES := MyPLC
+release-SPEC := myplc-release.spec
+release-RPMDATE := yes
+ALL += release
+