From 90b4af53a744c9b45b4d60d18610f7215aa7e469 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Sommrey?= <28217714+jo-37@users.noreply.github.com> Date: Tue, 4 Jun 2024 20:11:07 +0200 Subject: [PATCH] add advice to ignore generated files --- Basic/Pod/PP.pod | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Basic/Pod/PP.pod b/Basic/Pod/PP.pod index 9398b3366..3059ead11 100644 --- a/Basic/Pod/PP.pod +++ b/Basic/Pod/PP.pod @@ -544,11 +544,15 @@ done to produce better warnings, do not be afraid to send your questions to the mailing list if you run into trouble. Another problem arises from the number of generated files that may be -confusing especially when dealing with existing code. +confusing, especially when dealing with existing code. Bear in mind that the only sources are C<.pd> and C<.pod> files, while C<.pm>, C<.xs> and C<.c> files are generated from the C<.pd> files and shall not be altered as these changes would be overwritten. +Furthermore, the generated files shall neither be part of a distribution nor +under version control and therefore +should be listed in C and e.g. C<.gitignore>. + =head1 DESCRIPTION Now that you have some idea how to use C to define new PDL functions