{"id":26145688,"url":"https://github.com/carlowood/cwm4","last_synced_at":"2025-04-14T03:09:26.506Z","repository":{"id":139972504,"uuid":"76810500","full_name":"CarloWood/cwm4","owner":"CarloWood","description":"cwautomacros as submodule","archived":false,"fork":false,"pushed_at":"2025-03-13T15:56:23.000Z","size":351,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-14T03:09:10.915Z","etag":null,"topics":["autogen","autotools","build-system","cmake","cwm4","git"],"latest_commit_sha":null,"homepage":null,"language":"M4","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CarloWood.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-12-18T22:30:16.000Z","updated_at":"2025-03-13T15:56:27.000Z","dependencies_parsed_at":"2023-10-01T18:27:36.539Z","dependency_job_id":"fd7e551c-0545-4526-9656-7d1e50c820ab","html_url":"https://github.com/CarloWood/cwm4","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CarloWood%2Fcwm4","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CarloWood%2Fcwm4/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CarloWood%2Fcwm4/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CarloWood%2Fcwm4/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CarloWood","download_url":"https://codeload.github.com/CarloWood/cwm4/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248813795,"owners_count":21165634,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["autogen","autotools","build-system","cmake","cwm4","git"],"created_at":"2025-03-11T04:54:42.444Z","updated_at":"2025-04-14T03:09:26.481Z","avatar_url":"https://github.com/CarloWood.png","language":"M4","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cwm4 git submodule\n\nThis repository is a git submodule containing\nautoconf macros and helper scripts to support\nbuilding a project that uses git submodules and\nautotools or cmake.\n\n## Checking out a project that uses the cwm4 submodule.\n\nPlease read [README_usage](https://github.com/CarloWood/cwm4/blob/master/README_usage.md).\n\n## Adding the cwm4 submodule to a project.\n\nTo add this submodule to a project, execute the following\nin the root of the project:\n\n\u003cpre\u003e\ngit submodule add https://github.com/CarloWood/cwm4.git\n\u003c/pre\u003e\n\nThis should clone cwm4 into the subdirectory cwm4, or\nif you already cloned it there, it should add it.\n\nNext run:\n\n\u003cpre\u003e\ncp cwm4/templates/autogen.sh .\n./autogen.sh\n\u003c/pre\u003e\n\nand follow the instructions (if any). [autotools only:] If fixing of \u003ctt\u003econfigure.ac\u003c/tt\u003e\nwas necessary, run \u003ctt\u003e./autogen.sh\u003c/tt\u003e again until all issues are fixed.\n\nFinally add \u003ctt\u003eautogen.sh\u003c/tt\u003e to your project:\n\n\u003cpre\u003e\ngit add autogen.sh\n\u003c/pre\u003e\n\nAnd commit your changes.\n\nTo add support for another submodule, add a file called 'configure.m4'\nto the root of that submodule -- a template for that file can be\nfound in [cwm4/templates/configure.m4](https://github.com/CarloWood/cwm4/blob/master/templates/configure.m4).\nA more complex example can be found in the repository\n[ai-xml-testsuite](https://github.com/CarloWood/ai-xml-testsuite) which\nuses [this](https://github.com/CarloWood/ai-xml/blob/master/configure.m4) as configure.m4\nfile of the submodule [ai-xml](https://github.com/CarloWood/ai-xml).\n\n## Cloning this project.\n\nIf you make your own clone of cwm4, make sure to set the\nenvironment variables \u003ctt\u003eGIT_COMMITTER_EMAIL\u003c/tt\u003e and\n\u003ctt\u003eGIT_COMMITTER_NAME\u003c/tt\u003e (and likely you also want\nto set \u003ctt\u003eGIT_AUTHOR_EMAIL\u003c/tt\u003e and \u003ctt\u003eGIT_AUTHOR_NAME\u003c/tt\u003e)\nand edit \u003ctt\u003ecwm4/templates/autogen.sh\u003c/tt\u003e to use the\nmd5 hash of your \u003ctt\u003eGIT_COMMITTER_EMAIL\u003c/tt\u003e.\n\n\u003cpre\u003e\necho \"$GIT_COMMITTER_EMAIL\" | md5sum\n\u003c/pre\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcarlowood%2Fcwm4","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcarlowood%2Fcwm4","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcarlowood%2Fcwm4/lists"}