mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
Consolidate the duplicated sed command sequences used to generate *_usage.c files into a shared CSTR_SED definition and a single pattern rule: %_usage.c: %_usage.txt This removes the copy/pasted rules for chzdev_usage.c and lszdev_usage.c and keeps the Makefile easier to maintain. Also drop the explicit chzdev.o/lszdev.o prerequisites on the generated sources as dependencies are already tracked via the .*.o.d depfiles. Reviewed-by: Jan Höppner <hoeppner@linux.ibm.com> Signed-off-by: Jan Polensky <japo@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>